Hi,
I am having a little difficulty in understanding why the following happens :
I have a login form that is validated via php , an error displays if the login details are invalid. If they are valid a small MySQL update take place.
If the login is successful first time the update is ok, if the login is successful on second or more tries the update doesn't happen.
The structure of the code is (don't worry about the syntax)...
..... HTML header
<$php
if submit
check login details
if ok
update
else
echo error
endif
else
?>
.... HTML table & form
<?php
endif
$>
Is this wrong ? Any pointers would be appreciated.