Search This Blog

Wednesday, May 23, 2007

PHP MySQL Select : Get Data From MySQL Database Using PHP

Using PHP you can run a MySQL SELECT query to fetch the data out of the database. You have several options in fetching information from MySQL. PHP provide several functions for this. The first one is mysql_fetch_array()which fetch a result row as an associative array, a numeric array, or both.

mysql_fetch_assoc()
mysql_free_result()
list()
MYSQL_NUM with mysql_fetch_array()
Arrays

content-wide advt