Jump to content

Warning: Cannot modify header


alexcrosson

Recommended Posts

This is the error I get:
[b]Warning: Cannot modify header information - headers already sent by (output started at /home/totallyc/public_html/login/users.php:18) in /home/totallyc/public_html/login/add_user.php on line 16[/b]
Here is my code starting at line 16:
[code]header("Location: users.php");[/code]
I need to redirect after a user has been added and i'm having trouble doing it.
Link to comment
https://forums.phpfreaks.com/topic/22868-warning-cannot-modify-header/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.