I get a warning like this when I use session_start(). Does anyone have any ideas why?
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/bryce/public_html/webpuppy/scripts/testing_session.php:7) in /home/bryce/public_html/webpuppy/scripts/testing_session.php on line 8
The output was started in testing_session.php line 7.
If you have an empty line before <?PHP then you receive the same error. remove the empty line and it should work.
Otherwise show us the code for testing_session.php.
Thank you for your reply.
the code was in this fromat
html... <?php session_start(); ... ?>
when it should have been
<?php session_start(); ?> html... <?php ... ?>
everything works now. THanks again.