> its not working because it's not a variable (url)
> it's a text field
'url' is the name of the field which contains "http://something.com/".
Replace it with the name of the field in *your* table which contains
"http://something.com/".
BTW as Terry pointed out (I misread your question) the update query should
be:
UPDATE table SET url='http://something.com/target' WHERE
url='http://www.something.com/'
regards
--
Jason Wong
Gremlins Associates
www.gremlins.com.hk
Tel: +852-2573-5033
Fax: +852-2573-5851
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]