note 253 modified in odbc_fetch_into by ronabop
| From: | ronabop@php.net | Date: | Wed, 04 Oct 2000 15:19:54 +0000 |
| Subject: | note 253 modified in odbc_fetch_into by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6050@lists.php.net to get a copy of this message | ||
Passing by reference means that you have to pass a pointer to the item (i.e. array) and not the item
itself. In this case this means prepend an ampersand onto the front of your arrayname to indicate
that the arrayname is being passed by reference and not by value. For example:
$cols = odbc_fetch_into($QueryID, $RowNum, &$YourArray);
http://www.php.net/manual/function.odbc-fetch-into.php