Moderator: Basti

ProGam3r hat geschrieben:Ich komme nicht weiter muss ich ein Befehl eingeben das es sich zur mySQL Datenbank verbindet?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fubby - deine Community</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<?php include "auth.php"; ?>
<body>
<table width="683" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#CA0000" width="200" valign="top" align="center"><img src="images/logo.gif" alt="Fubby" width="190" height="50" /> </td>
<td bgcolor="#FFFFFF" width="2"></td>
<td bgcolor="#CA0000" width="473" valign="top"><p></p> </td>
</tr>
<tr>
<td height="183" align="center" valign="top" bgcolor="#CA0000" style="padding-left: 5px; padding-right: 5px; padding-top: 5px;"><div align="left">
<table width="100%" border="0">
<tr>
<td width="119">Willkommen
<? $username ?></td>
<td width="59"><div align="right"><a href="logout.php"><strong>Logout</strong></a></div></td>
</tr>
</table><br />
<table width="100%" border="0">
<tr>
<td valign="top"><?
include "mysql_connectinfo.php";
if($_GET['name']) {
mysql_query("SELECT * FROM login WHERE name = $_GET['name']")
}
?></td>
</tr>
</table>
<p> </p>
</div></td>
<td bgcolor="#FFFFFF"></td>
<td bgcolor="#CA0000" valign="top" style="padding-left: 5px;"><h1>Willkommen</h1>
<p>Die Seite ist in Bau bald kommen mehr Infos.</p>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" height="1px"></td>
<td bgcolor="#FFFFFF"></td>
<td bgcolor="#FFFFFF" height="1px"></td>
</tr>
<tr>
<td bgcolor="#CA0000" valign="top" align="center"> </td>
<td bgcolor="#FFFFFF"></td>
<td bgcolor="#CA0000" valign="top" style="padding-left: 5px;">© Fubby 2008</td>
</tr>
</table>
</body>
</html><?
include "mysql_connectinfo.php";
if($_GET['name']) {
mysql_query("SELECT * FROM login WHERE name = $_GET['name']")
}
?>
Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste