You're saying that $doresult is 0, but in fact the problem is that $connect is 0, correct?
It could be the protections on the .db file.
Is the database already run by some ASA service engine (which would define server=winpest, dbname=windata) or do you expect the PHP script to start the engine if needed? In that case, I often had problems around the database engine (dbeng7) not being in the system path, which prevents the ODBC driver from starting the engine database on request.
pascal
2009-11-04 06:27:53