HAiii alle hvad fuck gør jeg fejl ! jeg har læst noget om Update i sted for Select men kan ikke få det til at virke
( men ja så den her er min code lige nu
og ja jeg har husket at åben databsen da den ligger i top.php
<? include "top.php"; ?>
<? include "main.php"; ?>
<TABLE style="HEIGHT: 100%" cellSpacing=0 cellPadding=0 width=558 align=left border=0>
<TBODY>
<TR>
<TD class=header height=17><FONT color=#002395>+</FONT> Info om <?print mysql_result(mysql_query("SELECT nick FROM txi_members WHERE id = $_GET[id]"),0);?></TD></TR>
<TR>
<TD vAlign=top class=tpd>
<center>
<?
$sql = mysql_query("SELECT * from txi_members where id = '$_GET[id]'");
while ($row = mysql_fetch_array($sql)) {
print "
<form name=update method=POST action=test.php>
<table width=380>
<tr>
<td width=150><font size=\\"1\\">Full Name.</font></td>
<td width=230><font size=\\"1\\"><input type=text Value=\\"$row[fullname]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Years.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[year]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">City.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[city]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Icq.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[icq]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Msn.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[msn]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Clan Status.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[clanstatus]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Favorite Maps.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[maps]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Favorite Guns.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[guns]\\"></font></td>
</tr>
</table>
</center>
</TD></TR>
<TD class=header height=17><FONT color=#002395>+</FONT> $row[nick]´s Computer</TD></TR>
<TR>
<TD vAlign=top height=\\"100%\\" class=tpd>
<center>
<table width=380>
<tr>
<td width=150><font size=\\"1\\">Cpu.</font></td>
<td width=230><font size=\\"1\\"><input type=text Value=\\"$row[cpu]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Monitor.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[monitor]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Gfx Card.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[gfx]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">HeadSet.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[headset]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Mouse.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[mouse]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Mouse Pad.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[pad]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Lan.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[lan]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">O/S.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[os]\\"></font></td>
</tr>
<tr>
<td><font size=\\"1\\">Opløsning i CS.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[resolution]\\"></font></td>
</tr>
<td><font size=\\"1\\">Sensitivity i CS.</font></td>
<td><font size=\\"1\\"><input type=text Value=\\"$row[sensitivity]\\"></font></td>
</tr>
</table>
<input type=submit value=Update>
</form>
";
} ?>
</center>
</TD></TR>
</TBODY></TABLE>
<? include "bund.php"; ?>
EndZonE