Ok so i have a link that goes here:
<a href="../index.php?Module=HOME">home</a>
and then i have a statement that calls it, but it's not showing anything, what have i done wrong?
if ($Module == "HOME"){
echo "<table width=\"100%\" border=\"0\" cellspacing=\"5\" cellpadding=\"0\">\n";
echo "<tr>\n";
echo "<td valign=\"top\" width=\"150\">\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo "<tr>\n";
echo "<td class=\"contentheaders\">categories</td>\n";
echo "</tr>\n";
//This will load the list of categories and display them in rows
$colornumber = 0;
$select_categories = mysql_query("SELECT * FROM genres ORDER BY genreName ASC");
while ($fetch_categories = mysql_fetch_array($select_categories)){
$genreID = $fetch_categories['genreID'];
$genreName = $fetch_categories['genreName'];
$cellcolor = $colornumber % 2;
if($cellcolor == 0){
$colour = '#F4F4F4';
$arrow = '<img src=\'images/arrow1.gif\' align=\'absmiddle\'>';
}else{
$colour = '#EBEBEB';
$arrow = '<img src=\'images/arrow2.gif\' align=\'absmiddle\'>';
}
echo "<tr bgcolor='$colour' class='categorylist'>\n";
echo "<td>$arrow $genreName</td>\n";
echo "</tr>\n";
$colornumber = $colornumber + 1;
}
echo "</table>\n";
echo "</td>\n";
echo "<td valign=\"top\">\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
}