RE: [PHP-DB] Searching PHP strings

2006-09-28 Thread Bastien Koert

eregi_replace or str_replace can do that for you

Bastien



From: "Ron Piggott (PHP)" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: PHP DB 
Subject: [PHP-DB] Searching PHP strings
Date: Thu, 28 Sep 2006 21:12:18 -0400

I have been playing tonight for a few minutes.

The following code:



Produces me output like:

137

href="http://www.actsministrieschristianevangelism.org/christianliving/quiet_time_quotations_and_reflection_topics.html";>here.


What I want to do now is to remove the

http://www.actsministrieschristianevangelism.org/christianliving/quiet_time_quotations_and_reflection_topics.html

and remove all the text which follows this --- On this line it is

">here.

Would someone help me do this?

Ron


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Searching PHP strings

2006-09-28 Thread Ron Piggott (PHP)
I have been playing tonight for a few minutes.

The following code:



Produces me output like:

137

http://www.actsministrieschristianevangelism.org/christianliving/quiet_time_quotations_and_reflection_topics.html";>here.

What I want to do now is to remove the 

http://www.actsministrieschristianevangelism.org/christianliving/quiet_time_quotations_and_reflection_topics.html

and remove all the text which follows this --- On this line it is

">here.

Would someone help me do this?

Ron