Quote:
Originally Posted by BamBam0077
thought I would post that simple fix as most new coders would wonder why it wouldn't work 100% but I will explain if you browse via your files you will see most <> tags use ' ' instead of " " within it. But if you already new that then good on you :) small fix but worth sharing.
Old code -
PHP Code:
<div id="main_container"> <div id="header"> <div class="logo"><img src="http://www.bvlist.com/images/logo.gif" border="0" alt="" title="" /></div> </div> <div class="menu"> <ul> <li class="selected"><a href="index.php">home</a></li> <li><a href="browse.php">browse</a></li> <li><a href="upload.php">upload</a></li> <li><a href="viewoffers.php">offers</a></li> <li><a href="my.php">profile</a></li> <li><a href="forums.php">forums</a></li> <li><a href="userchat.php">chat</a></li> <li><a href="rules.php">rules</a></li> <li><a href="staff.php">staff</a></li> </ul> </div> <div class="center_content">
New Code -
PHP Code:
<div id='main_container'> <div id='header'> <div class='logo'><img src='http://www.bvlist.com/images/logo.gif' border='0' alt='' title='' /></div> </div> <div class='menu'> <ul> <li class='selected'><a href='index.php'>home</a></li> <li><a href='browse.php'>browse</a></li> <li><a href='upload.php'>upload</a></li> <li><a href='viewoffers.php'>offers</a></li> <li><a href='my.php'>profile</a></li> <li><a href='forums.php'>forums</a></li> <li><a href='userchat.php'>chat</a></li> <li><a href='rules.php'>rules</a></li> <li><a href='staff.php'>staff</a></li> </ul> </div> <div class='center_content'>
same applies on the following -
Old Code -
PHP Code:
<link rel="stylesheet" type="text/css" href="style.css" />
New -
PHP Code:
<link rel='stylesheet' type='text/css' href='style.css' />
also here too -
Old Code -
PHP Code:
<div id="footer"> <div class="left_footer"><a href="index.php">home</a> <a href="faq.php">faq</a> <a href="rules.php">privacy policy</a><a href="mailto:chezandrei@gmail.com">contact</a></div> <div class="right_footer"><a href="#" target="_blank"><img src="http://www.bvlist.com/images/chezdesign.gif" border="0" alt="" title="" /></a> </div> </div> </div>
New Code -
PHP Code:
<div id='footer'> <div class='left_footer'><a href='index.php'>home</a> <a href='faq.php'>faq</a> <a href='rules.php'>privacy policy</a><a href='mailto:chezandrei@gmail.com'>contact</a></div> <div class='right_footer'><a href='#' target='_blank'><img src='http://www.bvlist.com/images/chezdesign.gif' border='0' alt='' title='' /></a> </div> </div> </div>
|
Well your right and wrong as ' ' and " " are used in the HTML base code.. I have use $htmlout .=' '; and $HTMLOUT .="" ; so you need to under stand your code be code you post ur thoughts .. People have different setups as I can use ' ' witch the original poster posted.. just an FYI.. and your site is on a free host or dns witch will also make it a bit more pain in the ass to get in .. Try to under stand php and HTML before you say you have a little fix.. Just an FYI :)