~~Wo ist hier der Fehleer???~~
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
benutzer
datei
daten
editor
erden
ergebnis
error
exit
fehler
fehlerquelle
gott
kaufhaus
raumkapsel
raumschiff
schauen
solcherlei fehler
source
studio
zeile
zeitmaschine
-
em bei diesen folgenden script taucht immer diese fehlermeldung auf
Parse error: parse error, unexpected $ in /home/webpages/lima-city/dbzgame/html/raumhafen.php on line 1149
und hier der script:
<?php
session_start();
?>
<?php
if(!isset($_SESSION["Nickname"]))
{
echo "Bitte erst <a href='log.php'>einloggen</a>";
exit;
}
?>
<html>
<head>
<meta http-equiv="Content-Language" content="de">
<title>DBGame.net - The Online RPG</title>
</head>
<style type="text/css">
<!--
body, td, th {
font-family: Verdana;
font-size: 10px;
color: #000000;
}
a {
font-size: 10px;
}
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}
-->
</style>
<body background="http://img146.imageshack.us/img146/1621/st1pn.jpg">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="711" height="368">
<tr>
<td width="688" colspan="3" height="156" bgcolor="#007cfa">
<img border="0" src="Bilder/dbzgame.net.gif" width="735" height="156"></td>
</tr>
<tr>
<td width="105" height="374" valign="top" background="Bilder/navi.png" border="0" cellspacing="3">
<b>Main</b><br>
<a href="news.php"><u>? News</u></a><br>
<a href="index.php"><u>? Forum</u></a><br>
<a href="info.php"><u>? Information</u></a>
<br>
<b>User</b><br>
<?php
$_SESSION["Nickname"]=$Nickname;
include("vb.php");
$abfrage="SELECT Planeten FROM benutzer where Nickname='$Nickname'";
$ergebnis=mysql_query($abfrage);
while($row=mysql_fetch_object($ergebnis))
{
$planeten=$row->Planeten;
}
echo "Hallo <a href='profil.php'><u>".$_SESSION["Nickname"]."</u></a><br>";
echo "
<a href='logout.php'><u>Logout</u></a>|
<a href='profil.php'><u>Profil</u></a><br>
<a href='kk.php'><u>Daten ?ndern</u></a><br>
<b>Planet ".$planeten."</b><br>
<a href='trainer.php'><u>Trainer</u></a><br>
<a href='train.php'><u>Planeten Training</u></a><br>
<a href='shop.php'><u>Kaufhaus</u></a><br>
";
?>
</td>
<td width="533" height="374" valign="top" bgcolor="#1F7EFF">
<?php
$abfrage="SELECT Planeten FROM benutzer where Nickname='$Nickname'";
$ergebnis=mysql_query($abfrage);
while($row=mysql_fetch_object($ergebnis))
{
$Planeten=$row->Planeten;
}
if ($Planeten == Erde)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Vegeta</option>
<option>RFreezer</option>
<option>AltNamek</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Kapsule'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='3'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Kapsule-Raumschiff</b></u></td>
<td>1500</td>
<td>3Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Kapsuleschiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Raumkapsel'></input>
<input type='hidden' name='Kosten' value='2000'></input>
<input type='hidden' name='Dauer' value='2'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumkapsel</b></u></td>
<td>2000</td>
<td>2Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Raumkapsel.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Freez'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='4'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumschiff-Freez</b></u></td>
<td>1500</td>
<td>4Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='FreezSchiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
";
}
else
{
}
if ($Planeten == Namek)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Erde</option>
<option>Yadrat</option>
<option>Vegeta</option>
<option>RFreezer</option>
<option>AltNamek</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Kapsule'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='3'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Kapsule-Raumschiff</b></u></td>
<td>1500</td>
<td>3Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Erde</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Kapsuleschiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Raumkapsel'></input>
<input type='hidden' name='Kosten' value='2000'></input>
<input type='hidden' name='Dauer' value='2'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumkapsel</b></u></td>
<td>2000</td>
<td>2Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Erde</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Raumkapsel.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Freez'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='4'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumschiff-Freez</b></u></td>
<td>1500</td>
<td>4Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Erde</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='FreezSchiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
";
}
else
{
}
if ($Planeten == Yadrat)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Erde</option>
<option>Vegeta</option>
<option>RFreezer</option>
<option>AltNamek</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Kapsule'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='3'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Kapsule-Raumschiff</b></u></td>
<td>1500</td>
<td>3Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Erde</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Kapsuleschiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Raumkapsel'></input>
<input type='hidden' name='Kosten' value='2000'></input>
<input type='hidden' name='Dauer' value='2'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumkapsel</b></u></td>
<td>2000</td>
<td>2Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Erde</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Raumkapsel.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Freez'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='4'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumschiff-Freez</b></u></td>
<td>1500</td>
<td>4Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Erde</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='FreezSchiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
";
}
else
{
}
if ($Planeten == RFreezer)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Vegeta</option>
<option>Erde</option>
<option>AltNamek</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Kapsule'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='3'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Kapsule-Raumschiff</b></u></td>
<td>1500</td>
<td>3Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Erde</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Kapsuleschiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Raumkapsel'></input>
<input type='hidden' name='Kosten' value='2000'></input>
<input type='hidden' name='Dauer' value='2'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumkapsel</b></u></td>
<td>2000</td>
<td>2Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Erde</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Raumkapsel.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Freez'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='4'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumschiff-Freez</b></u></td>
<td>1500</td>
<td>4Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Erde</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='FreezSchiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>";
}
else
{
}
if ($Planeten == AltNamek)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Vegeta</option>
<option>Erde</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>";
if ($Planeten == Vegeta)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Vegeta</option>
<option>Erde</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
";
}
else
{
}
if ($Planeten == Quittenturm)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Vegeta</option>
<option>RFreezer</option>
<option>AltNamek</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Kapsule'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='3'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Kapsule-Raumschiff</b></u></td>
<td>1500</td>
<td>3Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Kapsuleschiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Raumkapsel'></input>
<input type='hidden' name='Kosten' value='2000'></input>
<input type='hidden' name='Dauer' value='2'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumkapsel</b></u></td>
<td>2000</td>
<td>2Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Raumkapsel.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Freez'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='4'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumschiff-Freez</b></u></td>
<td>1500</td>
<td>4Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='FreezSchiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
";
}
else
{
}
if ($Planeten == Gott)
{
echo "
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Zeitmaschine'></input>
<input type='hidden' name='Kosten' value='3000'></input>
<input type='hidden' name='Dauer' value='1'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Zeitmaschine</b></u></td>
<td>3000</td>
<td>1Tag</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>Vegeta</option>
<option>RFreezer</option>
<option>AltNamek</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Zeitmaschine.PNG'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Kapsule'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='3'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Kapsule-Raumschiff</b></u></td>
<td>1500</td>
<td>3Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Kapsuleschiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Raumkapsel'></input>
<input type='hidden' name='Kosten' value='2000'></input>
<input type='hidden' name='Dauer' value='2'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumkapsel</b></u></td>
<td>2000</td>
<td>2Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='Raumkapsel.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
<form action='fly.php' method='post'>
<input type='hidden' name='Raumschiff' value='Freez'></input>
<input type='hidden' name='Kosten' value='1500'></input>
<input type='hidden' name='Dauer' value='4'></input>
<table border='1' width='100%'>
<tr>
<td><b>Raumschiff</b></td>
<td><b>Kosten</b></td>
<td><b>FlugDauer</b></td>
<td><b>Ziel</b></td>
<td><b>Start</b></td>
</tr>
<tr>
<td><u><b>Raumschiff-Freez</b></u></td>
<td>1500</td>
<td>4Tage</td>
<td>
<select type='select' name='Ziel'>
<option selected>Namek</option>
<option>Yadrat</option>
<option>RFreezer</option>
</select>
</td>
<td>
<table border='1'>
<tr>
<td><img src='FreezSchiff.bmp'></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='Flug-Starten'></input></td>
</tr>
</table>
</td>
</tr>
</center>
</table>
</form>
";
}
else
{
}
?>
</td>
<td width="105" height="374" valign="top" background="Bilder/navi.png" border="0"></td>
</tr>
<tr>
<td width="686" colspan="3" height="38" background="Bilder/dbzgame.gif">
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
-
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage
-
soll man nun die Zeilen z?hlen und alles lesen?
Kannst du den Fehler nicht eingrenzen/markieren? -
Du hast vergessen den Anweisungsblock folgender if-Abfrage zu schliessen:
if ($Planeten == AltNamek)
In der Regel erscheinen solcherlei Fehler, wenn ein Anweisungsblock nicht geschlossen wird (es kann jedoch auch anderen Fehlerquellen entsprungen sein.) -
compactdisc schrieb:
Du hast vergessen den Anweisungsblock folgender if-Abfrage zu schliessen:
if ($Planeten == AltNamek)
In der Regel erscheinen solcherlei Fehler, wenn ein Anweisungsblock nicht geschlossen wird (es kann jedoch auch anderen Fehlerquellen entsprungen sein.)
ist bei den anderen ach so^^ -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage