Don't set them to empty at the bottom of the file. Do it right after the
INSERT to the database, and put the FORM below that.
An unfair restaurant-recommendation script:
?php
$message = '';
# Horribly insecure code for illustrative purposes only:
if (isset($name) trim($name)
hi gerald,
ok.. u could assign values to form input...
eg:
$myname= ;
input type=text name=name value=?=$myname?
ok..
for the thank you?
simply do a if syntax to check if it's been submited... and put in a alert
for ur javascript..
eg:
?
... //do your statement to put in the values
?
2 matches
Mail list logo