$query = "select * from link..."; $result = mysql_query($query); while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "Name: ". $row['nombre']; }