OK Dann hab ich gleich eine Frage.
1.Hallo
2.alles jetzt in Datenbank schreiben
3.Das problem ist darin wenn ich die seite lade kommt immer ein Fehler / immer wenn ich die seite Lade
4.ja die fehlermeldung: Notice: Undefined index: Login in E:\xampplite\htdocs\index.php on line 104, Notice: Undefined index: Login in E:\xampplite\htdocs\index.php on line 33, Notice: Undefined index: lo in E:\xampplite\htdocs\index.php on line 41 das ist immer da wo ich eine IF bedingung habe.
5.Die index php datei und CSS datei und konfigurationsdatei.php
index:
<?php
session_start();
$id = $_GET['id'];
require_once ( 'konfiguration.php' );
$db_link = mysql_connect (MYSQL_HOST, MYSQL_BENUTZER, MYSQL_KENNWORT);
if( $db_link )
{
echo "Verbindung erfolgreich: ";
echo $db_link;
}
else
{
die('keine Verbindung möglich: ' . mysql_error());
}
mysql_close($db_link);
?>
Alles anzeigen
css:
html, body
{
background-color: #000084;
}
#navi
{
-moz-border-radius: 20px 0px 0 0 ;
border-radius: 20px 0px 0 0 ;
width: 225px;
height:825px;
background-color: #0000FF;
margin-left: 250px;
margin-right: 8px;
float: left;
}
#navi2
{
-moz-border-radius: 15px;
border-radius: 15px;
background-color: #0000DF;
margin: 10px;
padding-bottom: 5px;
}
#news
{
-moz-border-radius: 40px 40px 0 0 ;
border-radius: 40px 40px 0 0 ;
width: 200px;
height: 150px;
background-color: #888888;
margin-left:14px;
color: #000000;
font-size: 10px;
}
#head
{
width: 1000px;
height:185px;
background-color: #0000FF;
float: left;
-moz-border-radius: 0px 20px 0 0 ;
border-radius: 0px 20px 0 0 ;
padding-top:20px;
}
#HP
{
-moz-border-radius: 15px;
border-radius: 15px;
background-color: #0000DF;
margin-left: 300px;
margin-right: 300px;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 40px;
}
#Met
{
float:left;
width: auto;
height: auto;
margin-left:272px;
margin-right:75px;
color: #888888;
background-color: #0000DF;
border: 2px;
border-style: none;
}
#Kris
{
float:left;
width: auto;
border: 2px;
border-style: none;
height: auto;
color: #888888;
margin-right:75px;
background-color: #0000DF;
}
#Tri
{
float:left;
width: auto;
height: auto;
border: 2px;
border-style: none;
margin-right:75px;
background-color: #0000DF;
color: #888888;
}
#ress
{
background-color: #000000;
}
#board
{
width: 1000px;
height: auto;
margin-top: 20px;
background-color: #0000FF;
float: left;
}
#HAP
{
-moz-border-radius: 10px;
border-radius: 10px;
background-color: #590AFE;
margin-left:400px;
margin-right:400px;
color: #C0C0C0;
}
#planetenbild
{
width: 500px;
height: 450px;
background-color: #000000;
float: left;
border: 5px inset;
border-color: #590AFE;
color: #FFFFFF;
}
#planetenstatistik
{
width: 485px;
height: auto;
float: left;
margin: 2px;
background-color: #0000DF;
}
#reg
{
float: left;
}
a
{
color: #000000;
text-decoration: none;
}
a:hover
{
color: #FFFFFF;
}
Alles anzeigen
konfiguration:
<?php
error_reporting(E_ALL);
define ( 'MYSQL_HOST', 'localhost' );
define ( 'MYSQL_BENUTZER', 'Truck007' );
define ( 'MYSQL_KENNWORT', '0815' );
define ( 'MYSQL_DATENBANK', 'Spiel' );
?>
Alles anzeigen
6.ich bedanke mich schonmal herzlich für die Hilfe im forraus.
7.mfg Truck007