Jump to content

Query Problem


Recommended Posts

<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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...