note 34708 added to security.database
| From: | rbemrose at vgmusic dot com | Date: | Mon, 04 Aug 2003 21:22:44 +0000 |
| Subject: | note 34708 added to security.database | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53342@lists.php.net to get a copy of this message | ||
Gustavo said:
"
select * from test where xx=7
is the same as
select * from test where xx='7'
"
This doesn't work on all database servers. You should only use '7' if the field type
is one of the string or text types.
----
Manual Page -- http://www.php.net/manual/en/security.database.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34708
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34708&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34708&report=yes