Re: thank you message after submit



You can try something like this in the sending loop:

// define what info you want to have in the thanks page
$name = $row["NAME"];
$email_lang = $row ["LANGUAGE"];

// this will send the mail mail($dest,$subject,$body,$headers);

// this will give the thank you message
echo (" Thanks you, mr. ".$name.". A mail was sent to this email
address : ".$dest." in the following language ".$email_lang.".");

You can also redirect to a specific thanks page where you can have all
the info that you want with something like this
echo("<script>window.location.replace('http://www.yoursite.com/thanks.php')</script>");

good luck

On 25 nov, 12:12, "Gaga" <rg2...@xxxxxxxxxxx> wrote:
How to make that ?

Basicly, after user has submited his data im returning him to input page but
i want to give him some verification that his data is sended and checked. Im
checking for existing users, name etc. so this "thank you" message should
dynamicly change regarding results from db...

Thanx !

.