Weird problem with ?>

From: Date: Tue, 10 Oct 2000 14:03:01 +0000
Subject: Weird problem with ?>
Groups: php.general 
Request: Send a blank email to php-general+get-19343@lists.php.net to get a copy of this message
I have a weird problem with this script: <?php $db = mssql_connect("wsean1567","www","www")or die("Gick inte att ansluta."); mssql_select_db("VCU_Intranet",$db)or die("Kunde inte välja databas."); $result = mssql_query("SELECT date,time,head,content,urgent FROM news ORDER BY date DESC;")or die("Kunde inte utföra frågan."); 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! Jari Ivanoff jari.ivanoff@telia.com +46-(0)70-3142556

« previous php.general (#19343) next »