Jump to content

 character problem in php page...


monika

Recommended Posts

Do any1 have any idea about this weired character

 



 

well every time i save my webpage and browse this  is displayed at top..

but when i chk in notepad or any editor i dont see/find such character..

 cos of this i get header error.. [header already sent......]

Link to comment
Share on other sites

generally its a result of a 2 fold issue.

1 you have whitespace in your prologue of your file (i.e you start the php <?php session_start();?> <doc type>  if you have any spacing it will phrase that which means it doesn't know what to do with it.  The best way to clean it up is in the doc flow try echoing out stuff around it to figure out what is causing it (i.e if its in an include) and play around with it till it disappears.  Also some text editors like to pad your documents and depending on what version of php you have that padding will cause that ugly error.

Link to comment
Share on other sites

heeh... well I'm mistaken.. its only in php page..

 

well is there any help.. you said it may be due to blank space..

I'd removed all the blank space.. all the code are tight packed..

but still that weired character comes with smiling face.. n makes my face angry... :P

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.