Re: [PHP-DB] Names with apostrophe's

2004-09-30 Thread Craig Hoffman
Thanks everyone. urlencode worked like a charm. On Sep 29, 2004, at 3:53 PM, GH wrote: You need to use the urlencode() function On Wed, 29 Sep 2004 13:23:07 -0500, Craig Hoffman [EMAIL PROTECTED] wrote: Hello, I could use some help here. I have an entry in the MySQL, that use an apostrophe,

Re: [PHP-DB] Names with apostrophe's

2004-09-29 Thread Matt M.
echo(tda href='user_book_results_detail.php?book=$row[book]$row[book]/a/ td); http://us4.php.net/urlencode -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Names with apostrophe's

2004-09-29 Thread Gryffyn, Trevor
Try: Echo tda href=\user_book_results_detail.php?book=$row[book]\$row[book]\/a/t d; I'm dubious on the $row[book] bit took, maybe you meant $row[book] or $row[$book]. Anyway, you didn't have a closing quote on the HREF, you don't need the ( and ) on the echo, you used the ' instead of for the

Re: [PHP-DB] Names with apostrophe's

2004-09-29 Thread GH
You need to use the urlencode() function On Wed, 29 Sep 2004 13:23:07 -0500, Craig Hoffman [EMAIL PROTECTED] wrote: Hello, I could use some help here. I have an entry in the MySQL, that use an apostrophe, for example lets call it O'Reilly. I have added addslashes to my insert statement