I'm new to PHP. I have successfully set up a small script which pulls
data out of an Access database and puts it in an HTML page, using an SQL
query:
"SELECT * FROM ZWobservations WHERE Country = 'CY'"
I now want to parameterise this, like:
"SELECT * FROM ZWobservations WHERE Country = ?"
but have not managed to work out how to get this running. I'm getting
errors like:
"Warning: SQL error: [Microsoft][ODBC Microsoft
Access-stuurprogramma]Het veld COUNT is onjuist , SQL state 07001 in
SQLExecute"
The PHP manual is short on examples (to put it mildly) and Googling for
a tutorial or working example has had a surprising lack of success -
apparently I'm choosing just the wrong search terms.
Could someone point me to a working example / tutorial?
--
Stephen Poley
Barendrecht, Holland