06-26-2008, 10:03 PM
|
#10 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
Your form might be causing the problem. You need the fields to look something more like
PHP Code:
echo '<input type="text" name="username" value="' . $username . '" />'; echo '<input type="text" name="password" value="' . $password . '" />';
There is nothing in $_POST['username'] or $_POST['password'] because you're using variables to determine the name of those fields. So for all we know, the information could be showing up in $_POST['codefreek']. More likely it's going nowhere, as the name field is probably empty when the page is displayed.
Might I suggest using CSS to style your forms too? 
-m
|
|
|
|