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:
Did you know?Explore Trending and Topic pages for more stories like this.
"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

Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen24

mr8m - reverse document
Friends,

I'm trying to reverse a document held by MIRO, but it reports the message balan

Date/Time and Checkbox
Hi Everyone,

I am trying to figure out how to insert the current date and tim

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

Adding meta tags under Zend FW
Hello there, recently has come to my hands the FTP of a website which is running under Zend, I would

Time-based image rotation script
I'm trying to write a PHP script that rotates an image based on what time of day it is. I want the

Typing math
I've added support for typesetting math using LaTeX on the forums.

Example:
Code: [Select]

Problem with shopcart code
Hello, I am having a bit of trouble being able to add a product to my shopcart. My mysql database i

show the direct link into href
I want to display link on the page. i am fetching the data(URL) from database,actually before that i

Forum tutorial
Im a beginner in PHP. Im making a forum(previous questbook, counter and few others) to learn. For no

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