sws Posted November 9, 2006 Share Posted November 9, 2006 Hi,I had a page created and it looked perfect. I then tried to add another php query and my layout got all messed up.Basically I've got a 3 column format. The scoreboard is supposed to show up on the third column but it's now somehow placed itself at the bottom of the second column. I can't for the life of me figure out how to get it back into the third column.Any advice would be greatly appreciated.You can see the page at : http://www.ultimatepoolies.com/hockey_contests.phpAnd here is the script:[code]<?php include ("config.php"); # Include the config.php file here error_reporting (E_ALL & ~ E_NOTICE); # Don't show notices.echo '<table align="center" border="0" cellpadding="0" cellspacing="0" width="850"> <tr> <td height="22" background="images/nav_bar_02.jpg"><font color="#FFFFFF"><marquee behavior="slide" height="22" direction="left">Welcome to ULTIMATE POOLIES.com We are pleased to announce that our HOCKEY Contests are now in progress!!!</marquee></font> </td> </tr> <tr> <td bgcolor="#FFFFFF"><font face="SerpentineDBol" size="+3" color="#FF0000">Ultimate Poolies.com </font>';if(!empty($online['id'])){ print'Welcome <b>'.stripslashes($online['username']). '</b> You have <b>'. ($online['credits']). ' Credits'. '</b>- <a href="logout.php">Logout</a><br />';}else{ print'<a href="login.php">Login | </a><a href="register.php">Register</a><br />';}//you dont really need to keep this all in a php tag, can just break out of it, and let rest be all html.. not in an echo or print?> </td> </tr> <tr> <td height="22" bgcolor="#FFFFFF" align="center"><a href="index.php">Home </a> | <a href="hockey_contests.php">Hockey </a>| Football | Basketball | Baseball | <a href="upforums/index.php" target="_blank">Message Boards </a> | <a href="mailto:admin@ultimatepoolies.com">Contact U.P.</a> </td> </tr> <tr> <td> <table border="1" cellpadding="2" cellspacing="0"> <tr> <td width="262" bgcolor="#EEEEEE" align="center" valign="top"> <table bgcolor="#FFFFCC" width="100%"> <tr> <td><br /> <table border="1" bordercolor="#0099FF" align="center" width="100%"> <tr> <td colspan="2" height="20"> <font color="#990000" size="+1"><b>League Leaders</b></font> </td> </tr> <?$standings_sql = "SELECT * FROM nhl_teams ORDER BY points DESC";$standings_query = mysql_query($standings_sql);while ($table_row = mysql_fetch_array($standings_query)){ ?> <tr> <td align="left"><font face="Verdana, Times New Roman, Times, serif" size="-2" color="#990000"> <?=$table_row['name']?> </font> </td> <td><font face="Verdana, Times New Roman, Times, serif" size="-2" color="#990000"> <?=$table_row['points']?> </font> </td> </tr> <?}?> </table> </td> </tr> </table> </td> <td width="530" bgcolor="#FFFFFF" valign="top"><br /> <table> <tr> <td valign="top"> <table border="1"> <tr> <td colspan="3" bgcolor="#FF6633"><font size="+2" color="#FFFFFF"> U.P. Hockey Contests!</font> </td> </tr> <tr> <td bgcolor="#99CC99"> Pick <strong>7</strong> players that will score <strong>1 or more goals</strong> today. </td> <td bgcolor="#99CC99"> Play now! </td> <td bgcolor="#99CC99"> Jackpot: </td> </tr> <tr> <td bgcolor="#99CC99"> Pick <strong>6</strong> players that will score <strong>1 or more assists</strong> today. </td> <td bgcolor="#99CC99"> Play now! </td> <td bgcolor="#99CC99"> Jackpot: </td> </tr> <tr> <td bgcolor="#99CC99"> Pick <strong>5</strong> players that will score <strong>1 or more goals</strong> today. </td> <td bgcolor="#99CC99"> Play now! </td> <td bgcolor="#99CC99"> Jackpot: </td> </tr> <tr> <td bgcolor="#99CC99"> Pick <strong>3</strong> players that will score <strong>2 or more assists</strong> today. </td> <td bgcolor="#99CC99"> Play now! </td> <td bgcolor="#99CC99"> Jackpot: </td> </tr> <tr> <td bgcolor="#99CC99"> Pick <strong>2</strong> players that will score <strong>2 or more goals</strong> today. </td> <td bgcolor="#99CC99"> Play now! </td> <td bgcolor="#99CC99"> Jackpot: </td> </tr> <tr> <td bgcolor="#99CC99"> Pick <strong>2</strong> players that will be <strong>+3 or more</strong> today. </td> <td bgcolor="#99CC99"> Play now! </td> <td bgcolor="#99CC99"> Jackpot: </td> </tr> <tr> <td colspan="3"><br /><font size="+2"> Hockey News</font><br /> </td> </tr> <tr> <td colspan="3"> javascript script here </td> </tr> </table> </td> </tr> </table> <td width="232" bgcolor="#EEEEEE" align="center" valign="top"><iframe src="http://www.sportznetwork.com/scores/index_nhl.htm" name="ticker" scrolling="no" frameborder="no" height = "750px" width = "200px"></iframe> </td> </tr> </table> </td> </tr> </table></body></html>[/code] Quote Link to comment Share on other sites More sharing options...
sws Posted November 9, 2006 Author Share Posted November 9, 2006 Nevermind. I got my head out of my butt JUST long enough to figure it out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.