Welcome Guest, Not a member yet? Register   Sign In
IF as Page
#1

Hello,
in my page I used this code to put several pages into one file.
This was very useful and would like to incorporate this in this framework as well.
But how is the URL address to call the content "edit"?

PHP Code:
<?php
    
if(isset($_GET["action"]))
        {
            
$action $_GET["action"];
        }
    else
        {
            
$action "";
        }
        
    if (
$action == "")
        {
?>
hallo
<?php
        
}
    if (
$action == "edit")
        {
?>
du da
<?php
        
}
?>
Reply


Messages In This Thread
IF as Page - by Germanikus - 09-18-2017, 05:54 AM
RE: IF as Page - by skunkbad - 09-18-2017, 07:58 AM
RE: IF as Page - by PaulD - 09-18-2017, 11:04 AM
RE: IF as Page - by InsiteFX - 09-19-2017, 03:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB