PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
what making i'm confuse is... this statement appear...
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/data-dist/application/admin/adminpanel.php:9) in /usr/local/www/data-dist/application/admin/adminpanel.php on line 70
you should google that, you will find tons about headers allready being sent
the reason you get this error is because you output html or such before you call the header, so you either cant write stuff to the screen before the header or you could use output buffering
ob_start()
search it
.....
good luck
You must have to check if you didn't put any echo'ing or printing before assing the header.
I mean that your code can't have any white space, <html>, or something like this before the php code. If you echo'ed it, you cannot set the header.
You probably did it.
* NOTE:
I prefer to use header("Location: ...");
Location, with the uppercase in the first char of the "Location" string.