Turn off magic quotes in the php.ini to not have them go in, and you will most
likely get a bunch of error's, or pass what you select from the database through
the stripslashes function like:

$query = mysql_query("SELECT field FROM table;");
$array = mysql_fetch_array($query);

$array[field] = stripslashes($array[field]);

On Thu, 2003-01-09 at 09:41, Vernon wrote:
When posting to a MySQL database field database record slashes are being
added to the data where there is an apostrophe. How do I either, not have
the apostrophe posted without the slash or have it not displayed when it is
being retrieved?

Thanks
V



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- 
Adam Voigt ([EMAIL PROTECTED])
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to