db_fetch_assoc

From Online Manual

Revision as of 15:17, 26 July 2011 by Emanuele (Talk | contribs)

Jump to: navigation, search

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'];