> here is the error message,
> Warning: Cannot add header information - headers already sent by
> (output started at /home3/www/antriksh/resources/action2.php:5) in
> /home3/www/antriksh/resources/action2.php on line 13
>
> any help?
>

that warning is probably generated because you're using the header()
function to perform the redirect.  you can't send a header if you already
echoed some output to the screen, which you apparently do on line 5 of your
php script (see the "output started at .../action2.php:5" message telling
you what line first sent output).

either get rid of all output before line 13, or use a different method to
perform the redirect.  otherwise it looks ok.  good luck

/nick



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to