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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.