php3-list | 2000051
Date: 05/03/00
- Next message: Bruce Garlock: "[PHP3] DB field names using ODBC/PHP3"
- Previous message: Jeroen ten Berge: "RE: [PHP3] RedHat 6.2"
- In reply to: Margie Wiers: "[PHP3] $query, PHP3/MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
May be because addslash only modifies ' and " characters.
THE MANUAL SAY:
string addslashes(string str);
Returns a string with backslashes before characters that need to be quoted
in database queries etc. These characters are single quote ('), double quote
("), and backslash (\).
So you must put \, instead of , as glue string in the implode function so
SQL don't be confused by an premature comma.
Try it, good luck
---------------------------------------------------------
Devta Singh
devta.singh <email protected>
devta <email protected>
---------------------------------------------------------
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bruce Garlock: "[PHP3] DB field names using ODBC/PHP3"
- Previous message: Jeroen ten Berge: "RE: [PHP3] RedHat 6.2"
- In reply to: Margie Wiers: "[PHP3] $query, PHP3/MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

