note 32244 added to function.addslashes
| From: | rmcfarland at sad47 dot k12 dot me dot us | Date: | Wed, 21 May 2003 13:14:51 +0000 |
| Subject: | note 32244 added to function.addslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48734@lists.php.net to get a copy of this message | ||
If trying to add data to a Microsoft Access database using odbc, and you are having trouble adding
entries with apostrophes. Try turning on magic_quotes_sybase in php.ini Here is an example:
"insert into books (isbn, title, pages, genre, authorid) values (4583, 'That's the
way I like it', 876, Fiction, 3);" Works great for me.
----
Manual Page -- http://www.php.net/manual/en/function.addslashes.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32244
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32244&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32244&report=yes