View Single Post
  #1 (permalink)  
Old Dec 13th, 2007, 05:27
Posie Posie is offline
Junior Member
Join Date: Nov 2007
Location: Oregon
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] close current window in php script

I have a form to email script. At the end of the script, after the email has been submitted, the script echos "The consultation form has been submitted...Thank you"

This echo is now alone on the window. Is it possible to add on a function to close this window? Could this be done within the php script, after the "thank you" echo?

Or does this need to be placed within an html page including the php script, in javascript? (creating a button to click to close the window)

Thanks for all the great advice!
Reply With Quote