is there a way to redirect after a script has run?

I have a form whos result is being put into a database. When, or if, the
operation is sucessful i set a variable $done to 1.

Now, i need a redirection from here (if $done is 1). But since i cant send
out headers that far down on the page - what do i do?

# Daniel AlsÚn    | www.mindbash.com #
# [EMAIL PROTECTED]  | +46 704 86 14 92 #
# ICQ: 63006462   |                  #

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to