note 42956 deleted from function.odbc-fetch-array by philip
| From: | philip@php.net | Date: | Sun, 21 Dec 2008 15:14:46 +0000 |
| Subject: | note 42956 deleted from function.odbc-fetch-array by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148419@lists.php.net to get a copy of this message | ||
Note Submitter: phpnet dot odbc_fetch_array at pixbox dot co dot uk
----
It all seems so obvious now, but in case you're stuck on how to get the entire ODBC query into
one array, instead of just one line, this will do the trick:
<?php
while(odbc_num_rows($myodbcexec)){
$myarray[] = odbc_fetch_array($myodbcexec);
}
?>
sina
london