Jump to content

[SOLVED] Displaying just a blank page???


cturner

Recommended Posts

I have commented out a lot of my code and have realised that the code below is what the problem is. I have placed

ini_set('display_errors', 'on');
error_reporting(E_ALL);

  at the very top of the page. No errors are displaying. However I can't see what the problem could be. So can someone please help me solved the blank page problem? Thanks in advance.

 

$query6 = mysql_query("SELECT id, menuname, pagetitle, submenu, subid FROM pages LEFT JOIN menu ON pages.menuid = menu.id WHERE menu.pagetitle != 'Home' AND menu.menuname != 'Alone'") or die ("Could not query because: ".mysql_error());
    while ($row6 = mysql_fetch_array($query6)) {       
        echo "<img name=\"".$row6['pagetitle']."\"btn src=\"".$row6['button']."btn.jpeg\" width=\"110\" height=\"23\" border=\"0\" id=\"".$row6['pagetitle']."btn\" usemap=#m_".$row6['pagetitle']."btn alt=".$row6['pagetitle']." />\n";
        echo "<map name=\"m_".$row6['pagetitle']."btn\" id=\"m_".$row6['pagetitle']."btn\">\n";
        echo "<area shape=\"rect\" coords=\"0,0,200,23\" href=\"page.php?page=".$row6['pagetitle']."\" alt=\"".$row6['pagetitle']."\" onmouseout=\"MM_menuStartTimeout(1000);\" onmouseover=\"MM_menuShowMenu(\'MMMenuContainer0925095706_".$row6['menuid']."\', \'MMMenu0925095706_".$row6['menuid']."\',200,0,\'".$row6['pagetitle']."btn\');\" />\n";
        echo "</map>\n";
        echo "<div id=\"MMMenuContainer0925095706_".$row6['menuid']."\">\n";
        echo "<div id=\"MMMenu0925095706_".$row6['menuid']."\" onmouseout=\"MM_menuStartTimeout(1000);\" onmouseover=\"MM_menuResetTimeout();\">\n";
        echo "<a href=page.php?page=".$row6['pagetitle']." id=MMMenu0925095706_".$row6['menuid']."_Item_".$row6['menuid']." class=MMMIFVStyleMMMenu0925095706_".$row6['menuid']." onmouseover=MM_menuOverMenuItem(\'MMMenu0925095706_".$row6['menuid']."\'"");>\n";
        echo $row6['pagetitle']."\n";
        echo "</a>\n";
        echo "<a href=page.php?page=".$row6['pagetitle']." id=MMMenu0925095706_".$row6['menuid']."_Item_".$row6['subid']." class=MMMIVStyleMMMenu0925095706_".$row6['menuid']." onmouseover=MM_menuOverMenuItem(\'MMMenu0925095706_".$row6['menuid']."\', \'".$row['subid']."\');>\n";
        echo "<span class=MMMenuItemSpanMMMenu0925095706_".$row6['menuid'].">".$row6['pagetitle']."</span>\n";
        echo "<img src=\"arrows.gif\" alt=\"\" class=\"MMArrowStyleMMMenu0925095706_".$row6['menuid']."\" />\n";
        echo "</a>\n";
        echo "</div>\n";
        echo "<div id=MMMenu0925095706_".$row6['menuid']."_".$row['subid']." onmouseout=\"MM_menuStartTimeout(1000);\" onmouseover=\"MM_menuResetTimeout();\">\n";
        echo "<a href=page.php?page=".$row6['pagetitle']." id=MMMenu0925095706_".$row6['menuid']."_".$row6['subid']."_Item_".$row6['menuid']." class=MMMIFVStyleMMMenu0925095706_".$row6['menuid']."_".$row6['subid']." onmouseover=MM_menuOverMenuItem(\'MMMenu0925095706_".$row6['menuid']."_".$row6['subid']."\');>\n";
        echo $row6['pagetitle']."\n";
        echo "</a>\n";
        echo "</div>\n";
        echo "</div>\n";
        echo "</div>\n";
    } 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.