Stupid Question - next page

gail
2011-08-05
2013-05-20
  • gail
    gail
    2011-08-05

    This is simple code but does i get error at line - include($nextpage);  is this site definition problem or am I missing something?  very new to PHP .

            <?php
                if (!isset($_REQUEST))
    {
                    include("main.inc.php");
    }
               else
               {
                    $content = $_REQUEST;
                    $nextpage = $content . ".inc.php";
                    include($nextpage);
                } ?>

     
  • gail
    gail
    2011-08-05

    ha!  figured out problem already,.. sorry