No edit summary |
m (refresh SMW properties) |
||
Line 11: | Line 11: | ||
$search_params['brd'][] = $row['id_board'];</nowiki> | $search_params['brd'][] = $row['id_board'];</nowiki> | ||
}} | }} | ||
<noinclude>[[Category:Database Functions]]</noinclude> | <noinclude>[[Category:Database Functions]]</noinclude> |
Latest revision as of 16:39, 11 October 2012
Usage:
$smcFunc['db_fetch_assoc'] ($result)
Description: Will return exact same results as mysql_fetch_assoc
Parameters:
- $result a resource returned from a query.
Return: an associative array with a single row of results from the query.
Example:
while ($row = $smcFunc['db_fetch_assoc']($request)) $search_params['brd'][] = $row['id_board'];