[Solved] Trying to change page content by menu clicks
In using php you can seperate your contents into files and include them selectively using if…else,include(‘fileName.php’) and checking for button click using isset(‘variableName’) pls note that the code below have not been tested : vars.php <?php $color=”green”; $fruit=”apple”; ?> test.php <form name=”new user” method=”post” action=<?php echo htmlspecialchars($_SERVER[“PHP_SELF”]); ?> > <input type=”submit” value=”show”/> </form> <?php if … Read more