note 44627 deleted from function.mysql-escape-string by aidan
| From: | aidan@php.net | Date: | Wed, 11 Aug 2004 14:24:56 +0000 |
| Subject: | note 44627 deleted from function.mysql-escape-string by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-74468@lists.php.net to get a copy of this message | ||
Note Submitter: Gabriel
----
regarding nick at spam me not careercast dot com
you don't have to use _single_ quotes. Just *Quote* the content any way you like.
from mysql manual, 10.1.1 Strings:
A string is a sequence of characters, surrounded by either single quote (
'') or
double quote ("') characters. Examples:
'a string'
"another string"
You made me fear that all code i've in my life was insecure because i used double quotes for
mysql (since i use single "leave my strings alone" quotes in php). :)