Hi there, I have a prblem in writing to an access file using php. I am getting an error message "Bad result index 0".But my Sql statement(insert in to <table name>..." has no error in it!! Could anyone solve this problem.. Thanks in Advance! Arun
Actualy, it does have an error in it; that's why the query function returns a zero. Add
echo odbc_errormsg();
after the execute and see what it tells you.
If you're quoted statement is the way it's in the program it should be "into" not "in to".