Yes, creating the table is exactly what I am trying to do.
I had to change my code to get it to work properly prior to adding your suggestions., would you please tell me how I would do it considering the changes I needed to make?
My code is:
<?php
$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("mydb", $con);
$result = mysql_query("SELECT * FROM puppies
WHERE approved='yes'");
echo "<table border='1'>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td width=\"150\" align=\"center\"><img src=\"http://www.americanmi-kiregistryassociation.com/images/puppy_pics/" . $row['photo'] . "\"><br />";
echo "Date of Birth: " . $row['dob'] . "<br />";
echo "Date Available: " . $row['doa'] . "<br />";
echo "Puppy Number: " . $row['nbr'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
again, thank you. You guys save my life pretty often.
Thanks,
Donnie