Display results of ODBC query
| From: | Todd Cary | Date: | Thu, 06 Jul 2000 20:12:33 +0000 |
| Subject: | Display results of ODBC query | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-912@lists.php.net to get a copy of this message | ||
I have gotten this far; now I need to know how to display the results.
Sorry for such beginners questions!
<?php
$user="SYSDBA";
$password="masterkey";
$host="case_odbc";
$stmt="SELECT CaseCode FROM Cases";
$casedb=odbc_connect($host,$user,$password);
$result=odbc_do($casedb,$stmt);
odbc_close($casedb);
?>
Moving ahead...slowly....
Todd
--
Todd Cary
Ariste Software
todd@aristesoftware.com