yo,
Just a little query, say for instance that I checked if a form was submitted by using:-
if(isset($submit))
where the submit button is as follows:-
<input type='submit' name='submit'>
You know the usual technique ----
****But, when a user fills out the form he submits the form by pressing return instead of clicking on submit, is there anyway of knowing that the form has been submitted in a - <form action="$PHP_SELF"> - case!!!!
The only thing i can think of is using javascript to associate a keypress with a hidden variable and then checking to see if that variable has been submitted :-
if(isset($submit)||isset($hidden))
But is there a better way??
regards,
sacevoy ~:-)