php-db | 2000121
Date: 12/14/00
- Next message: Jarek Zgoda: "Odp: [PHP-DB] interbase -901 - feature not supported / connect string problem?"
- Previous message: Julio: "[PHP-DB] Use of ' and " (quotes)"
- In reply to: Julio: "[PHP-DB] Use of ' and " (quotes)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Use the addslashes function.
http://www.php.net/addslashes
Matthew
At 09:43 PM 12/13/2000 -0800, you wrote:
>Hi--
>
>When a user enters either a single quote (') or a double quote ("), and I
>send it to my MSSQL table, sometimes I get an error message as "an
>incorrect syntax" or "query failed".
>I need to let users enter those characters.
>
>How can I handle single and double quotes on PHP?
>
>Thanks!
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-db-unsubscribe <email protected>
>For additional commands, e-mail: php-db-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jarek Zgoda: "Odp: [PHP-DB] interbase -901 - feature not supported / connect string problem?"
- Previous message: Julio: "[PHP-DB] Use of ' and " (quotes)"
- In reply to: Julio: "[PHP-DB] Use of ' and " (quotes)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

