Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SELECT * FROM... with PHP5 and Access

Status
Not open for further replies.

8ginga8

Programmer
Dec 14, 2004
54
CA
Hello,

I'm trying to SELECT * FROM my_table with PHP5 and an ODBC connection to Ms Access... all my rows are returned but when i try to output something like

echo $row['my_field'];

it doesn't work.

However if I SELECT my_field FROM my_table and then

echo $row['my_field'];

it all works fine.

Do i have to do something special to be able to select * from a DB with Access? I'm used to using PHP/MySQL and this works fine.

Any suggestions?

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top