I have a simple website that has two columns. One for the maincontent
and on the right a small column div class="login"
that has a login form. There is a link there named register
. When the user clicks it he gets sent to createuser.php
. What i want is for that entire createuser.php
page to be displayed inside the div
called maincontent
: how would i do that?
The div:
<div id="maincontent">
i want the `createuser.php` (just a form inside it) displayed here so i assume there
has to be something like <?php include 'createuser.php' ?> inside here but only
display it after the user has clicked "register"-button.
</div>
I do not want to use ajax.