Hi Everyone,
I had successfully connected to the server with PHP script, as below:-
[PHP]$dsn='database_ name';
$conn=odbc_conn ect($dsn,'usern ame','password' ,SQL_CUR_USE_OD BC)or die;
[/PHP]
When i run my query script, i got an error..
[PHP]$sqlquery="sele ct * from queenie";
$result = odbc_execute($c onn,$sqlquery); [/PHP]
Here is the error/warning message that i've got:-
Warning: odbc_execute() [function.odbc-execute]: No array passed in C:\wamp\www\CR_ www\sqlserver.p hp on line 51
Please help.. I am so desperate to know what happen.
Thanks,
Queenie
I had successfully connected to the server with PHP script, as below:-
[PHP]$dsn='database_ name';
$conn=odbc_conn ect($dsn,'usern ame','password' ,SQL_CUR_USE_OD BC)or die;
[/PHP]
When i run my query script, i got an error..
[PHP]$sqlquery="sele ct * from queenie";
$result = odbc_execute($c onn,$sqlquery); [/PHP]
Here is the error/warning message that i've got:-
Warning: odbc_execute() [function.odbc-execute]: No array passed in C:\wamp\www\CR_ www\sqlserver.p hp on line 51
Please help.. I am so desperate to know what happen.
Thanks,
Queenie
Comment