Re. Need help spotting PHP parse error

From: Date: Thu, 23 Jan 2003 19:59:18 +0000
Subject: Re. Need help spotting PHP parse error
Groups: php.db 
Request: Send a blank email to php-db+get-25079@lists.php.net to get a copy of this message
"Parse error: parse error in /home/filterseveuk/public_html/project/login.php on line 34" That is the exact error message, Cheers, Dave <? session_start(); if(!$HTTP_COOKIE_VARS["username"]) { /* The Cookie is not set, so load the page as if it is the first time */ require("library/include/header.php"); require("library/include/database.php"); /* Include a header file and a database connections/functions file */ ?> <form name="login" method="post" action=""> <select name="select"> <? $query = "SELECT * FROM Staff WHERE ResterauntId = 1"; $result = mysql_query($query) or die( mysql_error () ); While( $row = mysql_fetch_array($result) ) { ?>
     			<option value=<? echo $row["0"]; ?>><? echo $row["1"]; echo $row["2"]; ?></option>
     			<?
     		}
     		?>
</select> </form> _________________________________________________________________ Worried what your kids see online? Protect them better with MSN 8 http://join.msn.com/?page=features/parental&pgmarket=en-gb&XAPID=186&DI=1059

« previous php.db (#25079) next »