while($row = mysql_fetch_array($result))
{
if (isset($row["name"]) && ($row["name"] != "")){
$contentStr = $row["name"];
}
break;
}
mysql_close($con);
This works but not the way i want. I want to show all the data that i get from. Example in got 4 data now on database and using for the next line to show another data. How to write the format ?