PHP: mysql_fetch_row - Manual - PHP: Hypertext Preprocessor
The following are the basic codes to get a specific row from the mysql db into a $row variable: $query = "SELECT * FROM table"; $result = mysql_query($query); $row = mysql_fetch_row($result); And $row[0], $row[1] ... $row[n] are used to access those field...