You are here: Re: thank you message after submit « All PHP « IT news, forums, messages
Re: thank you message after submit

Posted by valugi on 11/25/06 12:24

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...@hotmail.com> 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 !

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация