![]() |
PHP Guys?
I was using a script whose order.php file was just a basic order form with no design.. so I wrote a template in html, and put the first part before the <?php and put the last part of the template after the ?> so that the order form looks just like my site..
Code:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/**/public_html/ipanel/order/index.php:13) in /home/**/public_html/ipanel/order/index.php on line 66 Code:
<td valign="top" width="766" height="650"> Code:
session_start(); edit: i've got $5 in my paypal if whoever helps me wants it for a hamburger or something. ill brb after dinner |
You can't send headers once they have already been sent. Any HTML output like td or whatever starts headers, so you can't start the session after that (startign the session sends headers)
Cheers! |
Quote:
|
Just put the <?php session_start(); at the very beginning of the file with no whitespace or anything sent to the browser first.
|
I did that and on line 2 when the html kicks in, it errors and says unexpected '<'
Thanks for at least trying, Jimmy, even though we're not getting anywhere |
I'll just seperate the html into a header file and a footer file and php include it in there
|
I'm still laughing at the 5$ part
|
try
<?PHP ob_start() ; ?> at very top of page |
You didn't close the php code.. Jimmy was right, now you need ?>
|
icq: 33375924 if you still need a hand with this...
|
All times are GMT -7. The time now is 07:36 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123