|
Posted by Johnny BeGood on 05/13/07 11:56
Hi Micha,
Thanks for the reply, can you give me some guidance on
> 2) use prepared statements
>
> The second is the preferred, but whether it's available or not depends
> on the used DB backend and the interface.
I have used
$stmt = odbc_prepare($odbc, "INSERT INTO Tasks (TaskType, Details)
VALUES('$tasktype','$taskdetails');" );
if (!odbc_execute( $stmt))
{
echo odbc_errormsg();
}
odbc_close();
But still come up with the same error, I am using an Access 2002 backend
database, only because I'm forced to.
Cheers
Navigation:
[Reply to this message]
|