note 42675 deleted from function.odbc-fetch-array by nlopess
| From: | nlopess@php.net | Date: | Wed, 26 May 2004 13:26:46 +0000 |
| Subject: | note 42675 deleted from function.odbc-fetch-array by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-70111@lists.php.net to get a copy of this message | ||
Note Submitter: tmjac2@student.monash.edu.au
----
If you are coming from an Oracle php script and want some help converting for odbc, instead of the
oci commands...
So how do you use this you ask?
I found that for fetch array it is very important to get the parameters and what it returns correct,
and you will spend forever figuring out how to phrase this.
So this is how I used odbc_fetch_array
while ($data = odbc_fetch_array($sth)) {
print_r($data);
with $data being an array of results
and $sth, being my statement handler/dsn