Javascript Code: (Used to make banner. Found in leftbanner.inc. (minus urls))
Code:
<script language='JavaScript' type='text/javascript' src=''></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write (");
document.write ("&what=zone:2");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href=''><img src='></a></noscript>";
Page Code:
Code:
<table width="820" cellpadding="5" cellspacing="0">
<tr valign="top">
<td width="20%"></td>
<?php include("leftbanner.inc"); ?>
</td>
<td width="80%" valign="top" class="link">
<!-- BEGIN REGULAR LINKS -->
.
.
.
Code to put in links
.
.
.
<!-- END REGULAR LINKS -->
</td>
</tr>
</table>
The output: Above this is everything that supose to be in the table.
Code:
<table cellpadding="5" cellspacing="0" width="820">
<tbody><tr valign="top">
<td width="20%"></td>
<td class="link" valign="top" width="80%">
</td></tr><tr><!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr><tr> <!-- BEGIN REGULAR LINKS -->
</tr>
</tbody></table>
So how do I get this code to work without wiping out the page? Do I need to put the code for making the links in another table inside the right col?