PHP 4.0 Bug #4537: Warning: SQL error: [Microsoft][Pilote ODBC Microsoft Access] L'opération doit
| From: | guillaume dot patry at netcourrier dot com | Date: | Mon, 22 May 2000 08:54:07 +0000 |
| Subject: | PHP 4.0 Bug #4537: Warning: SQL error: [Microsoft][Pilote ODBC Microsoft Access] L'opération doit | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19161@lists.php.net to get a copy of this message | ||
From: guillaume.patry@netcourrier.com
Operating system: Windows2000 Pro
PHP version: 4.0 Release Candidate 1
PHP Bug Type: ODBC related
Bug description: Warning: SQL error: [Microsoft][Pilote ODBC Microsoft Access] L'opération
doit
my php script :
---------------
$idCon = odbc_connect("DataWeb","","", SQL_CUR_USE_ODBC);
$SQL_Insert = "INSERT INTO Users (name, firm, username, password, email) VALUES
('$nom', '$firm', '$login', '$pass',
'$mail')";
$AddPrepare = odbc_prepare($odbc, $SQL_Insert);
if ($AddPrepare) {
$QueryAdd = odbc_exec($odbc, $SQL_Insert);
odbc_commit($odbc);
}
else echo "Error on The Serveur <br>";
}
The Error Message :
-------------------
Warning: SQL error: %ÝÓ
vtÙàà¨sÀ
¬¥4~ó´ôxþÿÐ