Nej har ikke kopiret det vil du se min kode så er den her ..
[code]
<!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=iso-8859-1" />
<title>[Team-SMG]</title>
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #BE0000;
}
a:link {
color: #000000;
font-weight: bold;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
-->
</style></head>
<body>
<div align="center">
<div align="center">
</div>
<p align="center"><strong>Edit Profile </strong>- <strong>Dont Work </strong></p>
<div align="center">
<?
include ("sql.php");
$result = mysql_query("SELECT * FROM users WHERE brugernavn='$brugernavn'");
$row = mysql_fetch_row($result);
$nick = $row["nick"];
$steamid = $row["steamid"];
$email = $row["email"];
$icq = $row["icq"];
$clan = $row["team"];
$loc = $row["loc"];
if(isset($_GET['checkupdate'])){
mysql_query("UPDATE users SET nick='$_POST[nick]', nick='".$_POST[nick]."', steamid='".$_POST[steamid]."', email='".$_POST[email]."', icq='".$_POST[icq]."', team='".$_POST[team]."', loc='".$_POST[loc]."' WHERE brugernavn = '$brugernavn'");
echo "You account data is updatet";
}
?>
<form action="edit.php?checkupdate" method="post">
<p align="center">Nickname:<br />
<input type="text" name="nick" style="background-color:#99CCCC" value="<?php echo $row['nick'] ;?>"/>
<br />
Steam ID:<br />
<input type="text" name="steamid" style="background-color:#99CCCC" value="<?php echo $row['steamid'] ;?>"/>
<br />
E-Mail:<br />
<input type="text" name="email" style="background-color:#99CCCC" value="<?php echo ($email); ?>"/>
<br />
ICQ:<br />
<input type="text" name="icq" style="background-color:#99CCCC" value="<?php echo ($icq); ?>"/>
<br />
Clan:<br />
<input type="text" name="team" style="background-color:#99CCCC" value="<?php echo ($clan); ?>"/>
<br />
Location:<br />
<input type="text" name="loc" style="background-color:#99CCCC" value="<?php echo ($loc); ?>"/>
<br />
<input name="submit" type="submit" style="background-color:#99CCCC" value="Update"/>
</body>
</html>
[code]
Har lige opdateret min kode lidt men virker stadig ikke :s
Indlæg senest redigeret d. 12.12.2006 07:05 af Bruger #8884