frostyhorse Posted October 3, 2008 Share Posted October 3, 2008 Well... A friend has gotten me this far and I would like to clean up this page and finish it. What I am trying to do is have a nice, orderly line up of information on a page, such as the one displayed here: http://championsbidranch.awardspace.com/studrow.php The page that I am currently working on is here: http://championsbidranch.awardspace.com/testshow.php Now, the first so many pictures are unorderly, and I cannot figure out why. I think it is my database, or it might be my PHP coding. I do not know for sure, and would like that figured out. The coding to the second page is below: <table width= "100%" border= "0" cellpadding= "2" align= "center"> <?php include ('db1.php'); $query = "SELECT * FROM horses WHERE category='show' ORDER BY name"; $result = mysql_query($query) or die(mysql_error()); ?> </table> <html> <head> <title>Champion's Bid Ranch ... It's Not Just A Name. It's What We Do.</title> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body> <div id="menu"> <img src="http://championsbidranch.awardspace.com/menu.jpg" usemap="#Map" border="0"> <map name="Map"> <area shape="poly" coords="0,26,25,164,171,146,145,2" href="http://championsbidranch.awardspace.com/index.php"> <area shape="poly" coords="28,154,2,298,143,324,171,180" href="http://championsbidranch.awardspace.com/studrow.php"> <area shape="poly" coords="172,455,32,480,0,336,146,310" href="http://championsbidranch.awardspace.com/mares.php"> <area shape="poly" coords="144,635,-1,613,26,468,171,493" href="http://championsbidranch.awardspace.com/showstring.php"> <area shape="poly" coords="1,654,143,627,172,771,28,799" href="http://championsbidranch.awardspace.com/office.php"> </map> </div> <div id="img"> <img src="http://championsbidranch.awardspace.com/banner.jpg"></div> <div id="content"> <b>Champion's Bid Ranch || </b> <br><br> <center> <table width="98%" border="0" cellpadding="0" cellspacing="1"> <? while($row= mysql_fetch_array($result)) { $id = $row['id']; $name = $row['name']; $age = $row['age']; $breed = $row['breed']; $color = $row['color']; $pattern = $row['pattern']; $height = $row['height']; $gender = $row['gender']; $sire = $row['sire']; $dam = $row['dam']; $dam_sire = $row['dam_sire']; $training = $row['training']; $level = $row['level']; $picture = $row['picture']; ?> <tr><td colspan="2"><h2><? echo $name; ?> </a></h2></td></tr> <tr><td><img src="http://i197.photobucket.com/albums/aa58/ShellyDominik/BITS/noimage.jpg"></td> <td><? echo $age; ?> <? echo $color; ?> <? echo $pattern; ?> <? echo $breed; ?> <? echo $gender; ?> <br> Sired by <? echo $sire; ?> from <? echo $dam; ?> </td></tr> </table> <? } ?> <br><br> <font size="1"><i>This is a fictional stables. Horses and services are fictional and are not in any way real life horses or services. Website design and manipulation is copyrighted to Shelly, the owner of the website. Email is [email protected]</font></i> <br><br> </div> </td></tr> </table> Can anyone help? Thanks! Link to comment https://forums.phpfreaks.com/topic/126943-pulling-multiple-things-onto-one-page/ Share on other sites More sharing options...
DarkWater Posted October 3, 2008 Share Posted October 3, 2008 It's probably the 487 validation errors that you have in your HTML. Check it out here. You should REALLY validate. Link to comment https://forums.phpfreaks.com/topic/126943-pulling-multiple-things-onto-one-page/#findComment-656653 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.