db_fetch_assoc From Online Manual

Revision as of 09:52, 2 June 2011 by Emanuele (talk | contribs) (change category)
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'];



Advertisement: