On Thursday, July 10, 2003, 9:25:31 PM, Taylor wrote:
TY First,
TY I need the code to replace the link in a string, like
TY BASE HREF=www.google.com with BASE HREF=mystring
TY ereg_replace('BASE HREF=\'(.*)'\', 'BASE HREF=\$my_string\',
TY $old);
TY That was the closest i got, but (.*) makes
First,
I need the code to replace the link in a string, like
BASE HREF=www.google.com with BASE HREF=mystring
ereg_replace('BASE HREF=\'(.*)'\', 'BASE HREF=\$my_string\',
$old);
That was the closest i got, but (.*) makes it take the first BASE HREF, and
the last , which sucks.
Can anyone help?
2 matches
Mail list logo