Re: [PHP-WIN] Microsoft Access prepared statement with parameters problem

2001-03-03 Thread Gonzalo Vera
Some possibilities: > $statement = odbc_prepare( $connection, "select * from System where A=?" ); Probably you would be better off using single quotes in the condition, since you are tryng to match strings, like: $statement=odbc_prepare($connection,"select * from System where A='?'");

[PHP-WIN] Microsoft Access prepared statement with parameters problem

2001-03-03 Thread Chris Poirier
Hi there, I'm attempting to execute prepared statements with parameters against an Access 97 database, and am having some trouble. I'm sure I'm missing something really obvious, but I just can't see it, and I'm hoping someone out there can help. In the following code, assume that $connection ho