php contact form, with no page redirect?

Associate
Joined
20 May 2007
Posts
441
Hey everyone

This is just a general question i was wondering, with php and sending an e-mail most tutorials have a web page with the form then when submit is pressed it send the user to some other php page where the input can be validated and sent, is it possible to just send the e-mail without having to change pages?

Im new to php so sorry if this is a bit of a stupid question just my googling doesn't seem to be giving me any answers

Cheers
Gaunt
 
cheers tsinc

Well i got it up and running, however I found a tiny lil problem, it seems that is I refresh the page after the email has bn sent (i.e. the thank you message is displayed), the refresh will resend the information, is there anyway of sending the email then resetting the post data??
 
Back
Top Bottom