Fetch one record from table

• mysql_fetch_row — Get a result row as an enumerated array

 
Example Code:

	$result = mysql_query ("SELECT id, name FROM employee_details WHERE id = 'qpt01'");
	$row = mysql_fetch_row ($result); 
	
	echo $row[0]; // qpt01
	echo $row[1]; // the name value