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

pagination numbering pattern
Hello,

I have following code which works great for pagination. but i have small issue now.

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

Need to write a cookie with a url var
Not sure if its possible, but I need to write a cookie with a url.

So this would write 2232 a

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding..

Heres my code.. is it

storing video files into mysql in php
hi

i have my video files in my folder ,
i have to store the path of the videos into db an

extract a file from zip file
hi,
i know how to unzip a zip file in php, but is there a way to just extract a certain file only

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Slashes
Have a small problem and I'm not able to understand why I'm getting the results I'm getting... and i

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