Jump to content

[SOLVED] space after <?PHP


apot

Recommended Posts

I had a fully working php page and I was trying to get sessions to work so i was messing around with PHP.ini and the code of the page.  now i have to write the code with no spaces after the <?php tag

 

eg:

 

<?phpincludes('file.php');

 

or it doesnt work. Also the page displays very odd:

 

"; $i=0; while ($row_price = mysql_fetch_array($query_price)) { $i = ++$i; $price_id=$row_price["price_id"]; $start=$row_price["start"]; $end=$row_price["end"]; $cost=$row_price["cost"]; $child=$row_price["child"]; $xpax=$row_price["xpax"]; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "

"; echo "

"; echo "

Start Date

 

End Date

 

Cost

 

Child

 

Extra Pax

 

Action

Delete

"; echo "

 

"; echo ""; } echo "

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

 

Does anybody have any idea why it is doing this?

 

Link to comment
https://forums.phpfreaks.com/topic/71577-solved-space-after/
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.