RE: [PHP] Quotes
| From: | James Moore | Date: | Sun, 14 Jan 2001 19:07:44 +0000 |
| Subject: | RE: [PHP] Quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34488@lists.php.net to get a copy of this message | ||
addslashes()
James
--
James Moore
PHP Quality Assurance Team
jmoore@php.net
> -----Original Message-----
> From: rodrigo [mailto:rodrigo@shreve.net]
> Sent: 14 January 2001 21:41
> To: php php
> Subject: [PHP] Quotes
>
>
> I recently came across this problem and I am sure that there is a quick
> fix for it. I need a solution to the quotes problem when sending
> queries. I use single quotes to construct my SQL queries. This worked
> fine since the data entered into the DB was all in spanish.
>
> However, yesterday I was typing in an English name that had a single
> quote (say, like O'reilly) and the SQL querie was all wrong.
>
> What is the solution to this? Thanks in advance.
> --
> ************************************
> Ivan R. Quintero E.* (507)228-3477
> Aptdo 1263 * (507)228-9105
> Balboa, Ancon * 640-0370
> Republic of Panama *
> ************************************
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net