I got a require() to add a page thats is setup to handel a menu simple right I thought so. everything was working fine till I re loged into the site.
This is the code for the menu
<?php
require('connection');
$result = mysql_query("SELECT * FROM table WHERE table.num = $num",$db);
while ($myrow = mysql_fetch_array($result)) {
printf("<MAP NAME=\"top1\"><AREA SHAPE=\"RECT\" COORDS=\"85,39,251,64\" HREF=\"myfile.%s?num=%s&id=%s&id2=%s\"></MAP><IMG SRC=\"../../../images/interface/mtopleft.gif\" WIDTH=265 HEIGHT=76 BORDER=0 USEMAP=\"#top1\"><BR> \n", php3, $myrow["num"], $myrow["id"], $myrow["id2"]); } ?>
Like I said this was working fine now the pages loads but the menus not there and I get no errors. I even try print mysql_error() but no errors
my questions is When I log in do I have to set the page that the form calls or can I use the require page
If that don't make sence I mean using the select statement can I set the required page using the select Statment or does the page the form call has to be set with the select Statemnet
If you understand this and have any clues to what I can do please let me know
Thanks in advance