PDA

View Full Version : PHP form help


Jon101
11-06-2007, 06:29 PM
after processing the form , rather than redirecting you to a page how would i generate a popup saying "form submitted" or something?


I did it once or twice but i forgot how :(



Thanks!
Jon

boogyman
11-06-2007, 09:06 PM
at the end of processing put whatever you want to have it say.


<?php
if($submitted)
{
process();
if( !$errors )
{
echo "Form Submitted";
}
else { goBackToForm() }
}
?>