Piyush Posted October 10, 2009 Share Posted October 10, 2009 <b>Warning</b>: odbc_exec() [<a href='function.odbc-exec'>function.odbc-exec</a>]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect in <b>C:\Inetpub\wwwroot\php_new\main.php</b> on line <b>13</b><br />i had made this query and that error occured.$rs = odbc_exec($con,"SELECT * FROM point WHERE Name='" . $_COOKIE['username'] . "'");where point is the name of table which consists of three columns point(number),reason(text),name(text)$_COOKIE['username'] is text.. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.