|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-21 11:11 UTC] kalowsky@php.net
[2001-07-06 10:39 UTC] kalowsky@php.net
[2002-10-01 17:13 UTC] yangliu89 at yahoo dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 20:00:01 2025 UTC |
hello. my script is : ----------------------------- <? /* connect database */ $dsn = "nawa_dsn"; $user = ""; $pw = ""; $conn = odbc_connect($dsn,$user,$pw); $sql = "insert into TB_Login (UserID,Name) values ('002','Somphob')"; /* check for errors */ if (!odbc_exec($conn,$sql)) { /* error */ echo "Error"; } else { echo "OK!"; } /* close connection */ odbc_close($conn); ?> ----------------------------- and result is : ----------------------------- Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect in c:\inetpub\wwwroot\customer\save.php on line 12 Error ----------------------------- please tell me. thank.