note 35262 added to function.odbc-num-rows

From: Date: Mon, 25 Aug 2003 21:02:19 +0000
Subject: note 35262 added to function.odbc-num-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-55063@lists.php.net to get a copy of this message
Here is how I get the sql results back to browser: $query = "SELECT *****"; $dbid = odbc_connect(******,***,***); $data = odbc_exec($dbid, $query); print "<table>"; while (odbc_fetch_row($data)) { print "<tr> <td>".odbc_result($data,'<field-name>')."</td> <td>".odbc_result($data,'<field-name>')."</td> </tr>"; } print "</table>"; odbc_close($dbid); ---- Manual Page -- http://www.php.net/manual/en/function.odbc-num-rows.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35262 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35262&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35262&report=yes

« previous php.notes (#55063) next »