Hi, explode and strstr.


Posted on 16th Feb 2014 07:03 pm by admin

Hi, I seem to be confused about the strstr function, eg. i have a string like:
"a.b.c.d.e.f"
"a.b.c.d.e"
I always want it to split at the second "." from the end, so resulting in:
"e.f"
"d.e" respectively
etc...
Please feel free to ask me if you don't understand.
Thanks

No comments posted yet

Your Answer:

Login to answer
213 Like 7 Dislike
Previous forums Next forums
Other forums

Edit MySQL Row Using PHP and HTML Form
Hello,

Here's what I'm trying to do. Build a page where a user enters a MySQL row number in.

Not capturing all the information we require in the form.......
Hi Guys,

I was wondering if you would share some more of your knowledge today, I'm hoping it

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

Disable html within defined tags
I have a mysql database that allows users to enter content with html, but I also want to have a tag

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

Fatal error: Call to a member function fetchrow() on a non-object in C:xamppht
okay i have this query and everytime i add `item_id`=? to it... it gives me the error in the title..

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

Help with syntax
Hi all!

The $bridge variable is not getting passed while it is contained in the line below:

Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit

Open/Close Links in Php
Hello, Hoping someone can inform me how I can get PHP to automatically open a set of links in a new

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash