hi warum bekomm ich hier immer diese meldung
Parse error: parse error, unexpected $end in C:\Programme\Jana2\html\portal\admin\admin.php on line 80
PHP Parse error: parse error, unexpected $end in C:\Programme\Jana2\html\portal\admin\admin.php on line 80
Parse error: parse error, unexpected $end in C:\Programme\Jana2\html\portal\admin\admin.php on line 80
PHP Parse error: parse error, unexpected $end in C:\Programme\Jana2\html\portal\admin\admin.php on line 80
PHP-Code:
<html>
<head>
<title>Admin panel</title>
</head>
<body link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" text="#FFFFFF" bgcolor="#000000">
<?
include("mysql.php");
//Anfang index//
if ($sid=welcome)
?>
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="45%" id="" bgcolor="#333399">
<tr>
<td width="11%" bgcolor="#333399"> </td>
<td width="13%"><b>ID</b></td>
<td width="27%"><b>IP</b></td>
<td width="49%"><b>DATUM / ZEIT</b></td>
</tr>
</table>
</center>
</div>
<?
mysql_select_db($dbName);
$sql = "SELECT * FROM log_tabelle ORDER BY DatumZeit DESC";
$sql = mysql_query($sql);
while ($row=mysql_fetch_array($sql,MYSQL_ASSOC))
{
echo'
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="45%" id="" bgcolor="#666699">
<tr>
<td width="11%"> <input type="checkbox" name="" value="ON"></td>
<td width="13%">.$row[LogId]</td>
<td width="27%">.$row[RemoteIP]</td>
<td width="49%">.$row[DatumZeit]</td>
</tr>
</table>
</center>
</div>
}
?>
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="45%" id="" bgcolor="#333399" height="16">
<tr>
<td width="100%" height="16">
<b>Alle Einträge markieren / anzeigen
<select name="option">
<option selected>Option wählen</option>
<option value="del">Eintrag löschen</option>
<option value="add">Eintrag hinzufügen</option>
</select> </b></td>
</tr>
</table>
</center>
</div>
</body>
</html>
Kommentar