No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
}} | }} | ||
<noinclude>[[Category:Database Functions | <noinclude>[[Category:Database Functions]]</noinclude> | ||
Revision as of 21:48, 8 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'];