View Single Post
Old 06-26-2008, 10:03 PM   #10 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

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
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
codefreek (06-26-2008)