Y
Yiaggi
Guest
Hi guys,
I have made a simple login form for my website so that users can log onto a private forum.
To simply explain how my form works ....
My form only appears when the user is currently not logged in - so it appears in my php code as an 'echo' like so:
echo "<form type='login.php' method='POST'>
Username: <br>
<input type='text' name='username'><br>
Password: <br>
<input type='password' name='password'><br>
<input type='submit' name='submit' value='Login'>
</form>";
At the moment my form appears in the very top left of my page - but I need it elsewhere on the page.
What code can I add to have full control over the forms positioning??
I do realise already that I could add another header and have the page re-direct to another that already has the form set in position but I do not want to do it that way!
Cheers for any help guys
I have made a simple login form for my website so that users can log onto a private forum.
To simply explain how my form works ....
My form only appears when the user is currently not logged in - so it appears in my php code as an 'echo' like so:
echo "<form type='login.php' method='POST'>
Username: <br>
<input type='text' name='username'><br>
Password: <br>
<input type='password' name='password'><br>
<input type='submit' name='submit' value='Login'>
</form>";
At the moment my form appears in the very top left of my page - but I need it elsewhere on the page.
What code can I add to have full control over the forms positioning??
I do realise already that I could add another header and have the page re-direct to another that already has the form set in position but I do not want to do it that way!
Cheers for any help guys
