note 589 deleted from function.sybase-fetch-array by felipe
| From: | felipe@php.net | Date: | Fri, 18 Apr 2008 17:14:56 +0000 |
| Subject: | note 589 deleted from function.sybase-fetch-array by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138510@lists.php.net to get a copy of this message | ||
Note Submitter: joey at samaritan dot com
----
$q = sybase_query("SELECT COUNT (DISTINCT OPPORTUNITY_ID) FROM <BR> M_OPP_INTERESTS
WHERE INTEREST_ID = $i_id", $db);<BR>
while ($op_by_int = sybase_fetch_array($q)) {<BR>
while (list( $k, $v ) = each( $op_by_int )) {<BR>
echo "\$op[$k] => $v\n";<BR>
}<BR>
<BR>
Returns:<BR>
$op[0] => 2164<BR>
$op[computed] => 2164