Loans - Mortgages - Internet Advertising - Travel Shop - Mortgages

PDA

View Full Version : php find string


cheatasp
Mar 21st 2008, 10:19 pm
Dear all,

I found this problem, i using text file with php, when i open it and i search the string name "Google" if found i want to get string behind it 10, how can i do?

Thanks

jayshah
Mar 22nd 2008, 3:12 am
Hello,

Use www.php.net/strpos to get the location of the word, and www.php.net/substr to disect around it.

Jay