[!--quoteo(post=387014:date=Jun 22 2006, 07:22 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ Jun 22 2006, 07:22 PM)
The standard php 'redirection' code would be:
that will nor work if you have any previous output to the browser (which your sample code does). Maybe you could put the 'your record has been added' on the thank you page instead and as long as your script does not output to the browser, use the header function.
Wow that was a quick reply. Yes this returns the same form cleared, with the message "record has been added" How do I alter it from outputing the new form? I have this in the html sectionof my php page
<input type="Hidden" name="a" value="return"> does that cause the form to return empty?