What will make a form submit twice after 1 click of the submit button, the first time sending nothing to the database and sending an email with empty $var and then operating corrrectly, ie the $vars are sent to the db and the email is correctly populated ?
I'm using the following HTML code :
<form name="freg" method="POST" action="<?$PHP_SELF; ?>" onsubmit="regsubmit()">
Gurus, do you need any more info to solve my problem ?
Many thanks