Newbie Php question: Returning to original page from post.?

  • Thread starter Thread starter raisin_smiles
  • Start date Start date
R

raisin_smiles

Guest
I have a contact page (contact.php) which uses the from post command and actions another php file (see below)

What ways could I

a) What commands are available to return to contact.php
b) simplest way to include the contents of mailer.php (maybe use include???)

Thanks

</div id = form>
<form method="POST" action="mailer.php">
<label for="name">Name: </label><br />
<input type="text" name="name" size="19">
<br /><br />
<label for="message">Message: </label><br />
<textarea rows="9" name="message" cols="30"></textarea>
<br />
<input type="submit" value="Submit" name="submit">
</form>
</div>
Thanks for all the tips, going to do further reading now :-)

I do know all about xhhml syntax and the closed div tag was a typo!!

Thanks again
Arggh another typo.

Also will take the time to read about form validation too. Thanks have plenty of code to clean up, but for now the functionality works great. Cheers
 
Back
Top