HTML beginner |
|
ik krijg volgende fout:
Citaat: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /www/users/mkiq.downfire.com/info_scholen.php on line 16
dit is mijn code:
<?
session_start();
require("config.php");
echo "<link rel=\"stylesheet\" content=\"text/css\" href=\"style.css\">";
if(!$login){
?>
Niet ingelogd...
<?
}
if($login AND session_is_registered('memberid'))
{
// openen sessie
$query = mysql_query("SELECT * FROM scholen WHERE id = '$_GET['id']'");
$result = mysql_num_rows($query);
if(!$result)
{
echo "Deze school bestaat niet...";
}
else
{
while($aFtech = mysql_fetch_assoc($query3))
{
if($aFtech['rang'] > 1)
{
?>
Tekst
<?
}
else
{
}
}
}
} //sluiten sessie
?>
<? require("config.php"); echo "<link rel=\"stylesheet\" content=\"text/css\" href=\"style.css\">"; if(!$login){ ?> Niet ingelogd... <? } { // openen sessie $query = mysql_query("SELECT * FROM scholen WHERE id = '$_GET['id']'"); if(!$result) { echo "Deze school bestaat niet..."; } else { { if($aFtech['rang'] > 1) { ?> Tekst <? } else { } } } } //sluiten sessie ?>
op regel 16 staat:
$query = mysql_query("SELECT * FROM scholen WHERE id = '$_GET['id']'");
$query = mysql_query("SELECT * FROM scholen WHERE id = '$_GET['id']'");
|