Website: Gift-For-Men.com
As you can see the php grabs data from the database and inserts it into the webpage. PROBLEM IS none of my stylings are showing up.
The data stored is HTML... Can that be the problem? I'm also using .png for the images. none of the elements are loading damnit!
PHP Code:
<?php include 'include/simple.php'; $query = "SELECT * FROM suggestions ORDER BY Rand() LIMIT 1"; $result = mysql_query($query); $row = mysql_fetch_array($result); ?> <head> <?php echo $row['title']; ?> <meta name="keywords" content="Gift For Men, Gift" /> <meta name="description" content="Don't know what to get a man? With Gifts-For-Men.Com we'll randomly make suggestions to you!" /> <link rel="stylesheet" type="text/css" href="assets/Stylesheet.css" /> </head> <!--HEADER--> <body> <div id="contain" class="header"> <div id="contain" class="title"> <h1><a href="http://gift-for-men.com/" title="Gift For Men">Gift For Men</a></h1> <?php echo "Get your man " , $row['link']; ?> </div> <div id="contain" class="logo"> <center><img src="assets/logo.png" width="115" height="160" alt="Gift For Men Logo" /></center> </div> </div>
<!--BODY --> <div id="funny"> <?php echo $row['funny']; ?> </div> <div id="body" class="contain"> <div id="body" class="amazon"> <?php echo $row['product']; ?> </div> </div> <!--FOOTER --> <div id="suggest"> <a href="http://gift-for-men.com/" title="Need another suggestion?">Need another suggestion?</a> </div>
<div id="footer" class="contain"> <div id="footer" class="copyright"> <p><a href="http://gift-for-men.com/" title="Gift For Men">Gift For Men</a> - Copyright 2010 ©</p> </div> <div id="footer" class="facebook"> </div> </div> </body> </html>
|