note 20907 added to function.addslashes
| From: | admin at puremedia dot ca | Date: | Sun, 21 Apr 2002 09:46:33 +0000 |
| Subject: | note 20907 added to function.addslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29631@lists.php.net to get a copy of this message | ||
It turns out that I made a stupid mistake by including a dash (-) in my column's name. MySql
tried to somehow, compute the UPDATE query and returned an error.
But still, even if that part of the problem is resolved, I can't figure out why:
addslashes("robert's"); WILL show
while
addslashes($fields[$count][value]) WON'T
Is it because of that magic-quotes thing?
--
http://www.php.net/manual/en/function.addslashes.php
http://master.php.net/manage/user-notes.php?action=edit+20907
http://master.php.net/manage/user-notes.php?action=delete+20907
http://master.php.net/manage/user-notes.php?action=reject+20907