I am somewhat new to PHP and am running into an issue. Here is what I have:
$select_all = "SELECT * FROM latesttest";
$result = mysql_query($select_all)
or die(mysql_error());
$row = mysql_fetch_assoc($result);
foreach($row as $k=>$v){
echo $k . "=" . $v . "<br />";
}
This works and gives me: V1=Test V2=1234 V3=Something etc.
But I want to have the results for each row in the table reflected in this way. If I run the SELECT * FROM latesttest; in MySQL, I have 4 records in this table. How do I show all 4 rows in this above format?