How to echo a field content from each row from a mysql table?

This script selects all the rows that i need but now how do i echo the fileds from each row that its found?

$connection = mysql_connect($host,$user,$password)

or die ("coudlnt connectto server.");

$db = mysql_select_db($database, $connection)

or die ("coulnt find database.");

$query = "SELECT * FROM CUSTO where PENDINGD=""";

$result = mysql_query($query)

or die ("yellow");

$num = mysql_num_rows($result);

$row = mysql_fetch_array($result);

extract($row);

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 QUIZLS.COM - All rights reserved.