odbc

From: Date: Thu, 19 Dec 2002 21:33:45 +0000
Subject: odbc
Groups: php.general 
Request: Send a blank email to php-general+get-128910@lists.php.net to get a copy of this message
Ok, I am lost now, I am just trying to read the documentation on odbc...here is what I have so far. This seems to work...or at least not give any errors. How do I know get to the result set in the select statement to move this data somewhere else? I just want to get the entire result set so I can load it into another db. Thanks, Eddie <? $connect=odbc_connect('mytest','sa', ''); $stmt=odbc_prepare($connect, "select * from tablename"); $parms=array("sa",""); $eddie=odbc_execute($stmt, &$parms); //$rc = odbc_fetch_into($eddie, $my_array); ?>

« previous php.general (#128910) next »