|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-20 11:15 UTC] kara at cvs dot php dot net
[2004-08-14 01:22 UTC] anand_immer at yahoo dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 23:00:01 2025 UTC |
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: [Microsoft][Pilote ODBC Microsoft Access] L'op?ration doit utiliser une requ?te qui peut ?tre mise ? jour., SQL state S1000 in SQLExecute in C:\Inetpub\wwwroot\php\register.php on line 123 Warning: SQL error: , SQL state 00000 in SQLExecute in C:\Inetpub\wwwroot\php\register.php on line 123 Configuration : --------------- I use Windows2000 pro with php4 and IIS 5. All the select queries works but the Insert Into dosen't work... My php.ini file is OK, i don't have make any changes on it.