[PHP] script output doesn't show up

2001-03-12 Thread John Meyer
Here is the code ?php $connectionid = odbc_connect("usctoday","",""); $resultid = odbc_do($connectionid,"SELECT S_FNAME, S_LNAME, S_BIO FROM STAFF;"); $numrows = odbc_num_rows($resultid); for ($i = 1; $i=$numrows;$i++) { odbc_fetch_row($resultid); $fname =

Re: [PHP] script output doesn't show up

2001-03-12 Thread Jack Dempsey
i don't know how similar the odbc functions are to the mysql functions, but in your sql statement you have: FROM STAFF; whenever i create an SQL statement when using a MySQL database i don't have to put that semi-colon in there...is that needed for odbc? also, just to save yourself some space,