View Single Post
  #2 (permalink)  
Old Dec 13th, 2007, 05:30
Rakuli's Avatar
Rakuli Rakuli is offline
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: close current window in php script

You simply need to write out some javascript with php

PHP: Select all

echo 'The consultation form has been submitted... Thank You!<br /><br /><button onclick="window.close()">Close Window</button>'
Cheers
Reply With Quote