|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-20 14:38 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jun 10 14:00:01 2026 UTC |
This works (a part of a bigger program): if( $inforow ){ // $inforow = mysql_fetch_row( blabla ); (line 87) do{ // (line 88) if( 3==4 ){ echo( "" ); } // couldn't solve prob so tried this... (line 89) // commented away previous code, lines 90-100 $cost = $row[1]; // $row = mysql_fetch_row( another blabla); (line 102) } } But THIS does NOT work (added a line): [code] if( 3==4 ){ echo( "" ); } // line from above, this worked (line 89) if( 1==1 ){ echo( "" ); } // this does NOT work! (new line 90) [code] These kind of "errors" seems to appear from time to time without notice. They sometimes produce a "Document contained no data", and sometimes they produce a "parse error" error-code. This is the error: "Parse error: parse error in /home/httpd/html/test.php on line 87" Without the "new line 90" the program works fine and produce the requested data. Very critical bug since the error can not be traced (since there is no error). Thank you for looking into this. /Kalle Alm