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

How to restrict the display of report variants
Hello All,

I want t know how to restrict the display of report variants.
I mean, whe

ME54/ME54N Conditional check for Release of PR
Hi Gurus,

My requirement is to put a check on the release of the PR with respect to the c

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

PEAR Email Attachment w/ $gpg
I have no issues with this code if I take out the attachement section and include the info in the em

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

user data not transferring to new page
I'm a PHP learner. After an index.php page, the user goes to a login.php page. Both pages seem to

php/mysql auto logout after 2 hour and reset password
Hi all,

This I hope will make sense. I've the following code which when a user logins in, cr

dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button tha

Hotlinking Picasa as the image folder of a website
Hi there PHP freaks, I would like to create a private album in Picasa to use it as the image folder

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