[PHP-DB] Searching PHP strings

2006-09-28 Thread Ron Piggott (PHP)
I have been playing tonight for a few minutes. The following code: ? $lineArray = file(/home/actsmin/www/home_page.html); // make an empty variable first $content = ; // concat all array element foreach($lineArray as $eachLine) { if ( eregi(a href= , $eachLine) == 1 ) { #line contains a

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 php-db@lists.php.net Subject: [PHP-DB] Searching PHP strings Date: Thu, 28 Sep 2006 21:12:18 -0400 I have been playing tonight for a few minutes