db_fetch_assoc From Online Manual

Revision as of 18:48, 25 May 2011 by Emanuele (talk | contribs) (Created page with "{{smcfunc |function=db_fetch_assoc |usage=$smcFunc['db_fetch_assoc'] ($result) |description=Will return exact same results as [http://php.net/mysql_fetch_assoc mysql_fetch_assoc]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: