Re: Weird problem with ?>

From: Date: Tue, 10 Oct 2000 14:06:21 +0000
Subject: Re: Weird problem with ?>
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19344@lists.php.net to get a copy of this message
<?php <code snipped> for ($count=0;$count <= 10;$count++) { $date = mssql_result($result,$count,"date"); printf("$date <br>\n"); $date = mssql_result($result,$count,"time"); printf("$time <br>\n"); $headline = mssql_result($result,$count,"head"); printf("$head<br>\n"); $content = mssql_result($result,$count,"content"); printf("$content<br><br>\n"); ?> >I get a parse error on the line that contains the final ?>! >The last line! Well, maybe the for loop needs a closing } ;-) -- Chris Searle <chris@infostream.no>

« previous php.general (#19344) next »