ID: 40072
Updated by: [EMAIL PROTECTED]
Reported By: plasmapermanent at msn dot com
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Windows XP SP2
PHP Version: 5.2.0
New Comment:
Tell your editor not to safe the file with the BOM prepended.
Previous Comments:
------------------------------------------------------------------------
[2007-01-09 04:41:00] plasmapermanent at msn dot com
Description:
------------
I use all file in utf8 format. All thing look like good work. But when
include utf8 file it have something wrong. My table move to bottom of
page. I try to view source. It is very simple HTML code. No where wrong
code. But it have more space separate from header. I try to check all it
appear because I use code like this. Another place display true (May
be).
Reproduce code:
---------------
if(!empty($headtemp)) include($path.'\\'.$headtemp);
if(!empty($toptemp)) include($path.'\\'.$toptemp);
for($$linenum=0;$$linenum<$$x;$$linenum++){
mysql_data_seek($$datacontain,$$linenum);
$$returnnm=mysql_fetch_array($$datacontain);
if(!empty($midtemp)) include($path.'\\'.$midtemp);
}
Expected result:
----------------
Result when display should be true.
Actual result:
--------------
Result display when I view source of page are ok.
But page display should be ok like source code.
Now it show like.
<table border=1>
?<tr>
<td>1</td>
</tr>
?<tr>
<td>2</td>
</tr>
?<tr>
<td>3</td>
</tr>
</table>
? is something wrong.
It made table lose structure it data display on bottom of page and have
space between start tag <table> and data.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40072&edit=1