I can't say I honestly follow;
you have 2 tables in the leftnav.php, and you only want to display 1? if so, maybe you could do this....
PHP Code:
<?php
// leftnav.php
$table1 = "<table>....</table>";
$table2 = "<table>...</table>";
if($show_table==1) { echo $table1; }
else if($show_table==2) { echo $table2; }
?>
The file where you show the table...
PHP Code:
<div>
<?php
$show_table = 1;
include('leftnav.php');
?>
</div>
Does that help at all?
Last edited by webwoRRks; 08-06-2004 at 12:19 PM..
Reason: Funny confusing stuff
|