I've only been using php for a few days now an the basic idea of the site i'm making is a header left and right column and a footer. All these will be displayed on every page with only the middle content changing. My problem is i can get the right column, header and footer to show on each page but not the left column.
This is the info for the left
<!--- JCC: Start left column -->
<?php if ($state == "home" or !isset($state)){ ?>
<td width="<? echo $colwidth; ?>" align="left" valign="top" bgcolor="#93BEE2">
<?php include($inc_path."/leftcol.inc"); ?>
</td>
<!--- JCC: End left column -->
This is the right
<!--- JCC: Start right column -->
<td width="<? echo $colwidth; ?>" align="left" valign="top"bgcolor="#93BEE2">
<?php include($inc_path."/rightcol.inc"); ?>
</td>
<!--- JCC: End right column -->
the only difference is the 1st line on the left column
<?php if ($state == "home" or !isset($state)){ ?>
i tried getting rid of that but it didnt work.
This is all very new to me and any help would be great 🙂