hi,
i have the following:
I have checked the table to make sure the [account number] is a number type. i am getting an error message like:
"Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect in C:\Program Files\Apache Software ..."
not sure what to do...
thanks in advance,
geebee
i have the following:
Code:
<form method="post" action="<?php echo $PHP_SELF;?>"> <span style='color: #008b8b; font-size: 10pt; font-family: arial'>     <b>search </b><input type="number" size="24" class = "INPUTWHITE" maxlength="20" name="SEARCH" value="<?php echo $_POST['search'];?>" </span> <input type="submit" value=">" name="submit" class = "btn"></form> $SEARCH = $_POST["SEARCH"]; $sql="SELECT [account number] AS acct, month, code, age, [time] AS TM FROM table_name WHERE GRP = '".$GRP."' AND acct= '".$SEARCH."' AND day ='".$count."'";
"Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect in C:\Program Files\Apache Software ..."
not sure what to do...
thanks in advance,
geebee
Comment