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!
I have this credit card and am adding another to my form. The code below is both the original code that worked fine and the added code that is causing the error., its in RED. I cant fint the whitespace error and I didnt touch the sessions form. Can anybody please tell me what I am doing wrong.
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sent/public_html/products_new.php:4) in /home/sent/public_html/includes/functions/sessions.php on line 67
>
I personally cant see enough code to judge what might be wrong with this code.
Somewhere, the pages tries to call a session_start(), after something is outputed to the screen. session_start() needs (without interference with ob_start() and other buffering techniques that is) to be at the very top of the script(s), before any output is made.
You should debug your script to see what happens before the tep_session_start() is called.
it works fine until I add the code below to it. when I remove the code and try it as it was originally I still get the same error. somehow something changes somewhere in sessions and i have to upload a fresh copy of the script. Thats why I thought it was a whitespace
Mabye I didnt understand you. By starting session..
you mean have this
<?php echo
well it was there onliine 8 and ran just fine before I added my code. with the new <td> record.
I am brand new to php and probably dont understand you. work with HTMl alot but not this until now