Note Submitter:
----
I got : odbc_exec() [function.odbc-exec]: SQL error:
[Microsoft][ODBC Microsoft Access Driver] Could not delete
from specified tables., SQL state S1000 in SQLExecDirect in
C:\Inetpub\wwwroot\www2\admin\DelBus.php on line 19
code :
$bus_id = $_GET["Bus"];
$link = odbc_connect("tour", "",
"");
if (!$link){
exit("Error" . odbc_error() . " ! -
" . odbc_errormsg() . ".");
}
echo $bus_id;
$sqlStr = "delete from tb_bus where id_bus like
'$bus_id' " ;
$result = odbc_exec($link,$sqlStr);
and I can't handle this fail.
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|