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

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

mysql VARCHAR acting like INT
Hi, All.

I have a table that contains a varchar(10) column named weird_field. In this column

Apple's revamped lineup arrives

I'm personally curious about the magic mouse.. a multi-touch concept sounds like it could be nea

Log $_POST
How would i log submits on a form, by everyone? I want to then echo the number of submissions.

script is pulling more then they have....
I have this script for my game where they can change there race. This will cost them 2,500 points. H

php forms and database navigatio
Hello,
I'm new to php and i'd like to post the following.
I have written code to get records f

parsing error
can anyone explain this syntax error:

Parse error: syntax error, unexpected T_IF

The e

PHP Error
On my .php page I have a drop down box that has several names in it. When a user clicks the name &am

Wierd if else problem
Hi guys,

this probably aint wierd for you, but it seems like php is playin up to me. may b i

SCO Unix
I know this might not be the place to ask, but, can anyone tell me if SCO Unix comes with PHP built

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