I am passing 4 variables from a drop down search box into this. Basiclly if $name is set then I want it to out the code for that search. If $category is set then I want the code to be displayed for that ... same for $topic and $fee. I don't get any errors, but it doesn't work. What am I doing wrong?
PHP Code:<?PHP
$subtitle = ' :: Speakers';
include("includes/vars.php");
include("includes/header.php");
?>
<?PHP
if (isset($name)) {
print "<td width='366' height='159' rowspan='2' align='left' valign='top' background='images/nav/textbg.jpg' id='norm_padding'>";
print "<div id='text'><?PHP include('includes/text/speakers/index'.$name.'.txt'); ?></div></td>";
print "<td width='345' rowspan='3' align='left' valign='top' bgcolor='#FFFFFF' id='norm_padding'>";
print "<div id='text'> </div></td>";
print "<td width='14' rowspan='3' bgcolor='#75818C'> </td>";
print "</tr>";
print "<tr>";
}elseif(isset($category)) {
print "category!";
}elseif(isset($topic)) {
print "topic!";
}else{
print "fee range!";
}
?>
<?PHP
include("includes/footer.php");
?>






Bookmarks