okay, hopefully the title didn't scare you off.
i'm interested in understanding the best practice for page transitions from a signup page (with a form) to a profile page. the same applies for a login page to the same user profile page.
here's an example of what i'm doing now, using the signup page
PHP Code:
<form id="myform" class="cssform" method="post" action="profile.php">
<h1 class="cssform"> <ul class="cssform"><li>Sign Up</li></ul></h1>
<p>
<label for="username"> username</label>
<input type="text" name="user_name" id="username" value="" />
//then on profile.php i process the signup, starting with:
PHP Code:
<?php
if (isset($_POST['signup']))
{
include "database.inc.php";
$user_name = $_POST['user_name'];