Hello again.I am trying to make a php table with a list of items going down with the cost of any thing.If some could please type yo a simple php table script for me.I be thanks full to who ever does.

Thanks Jon

<?php
echo "<table>";
$query = mysql_query("SELECT col1, col2 FROM example");
while(list($col1, $col2)) = mysql_fetch_row($query)){
echo "
<tr>
<td>$col1</td>
<td>$col2</td>
</tr>";
}
echo "</table>";
?>

Hope this is what you want

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.