Det ser fint ud men kan ikke se hvor det skal ind på min side for at virke, undskyld jeg siger det men er ikke den beste i php. Troede at det vil være mere enkelt...
Her er den side det skal ind på.
<form action="insert.php" method="post"> <input type="hidden" value="insert mmorpg_users" name="do"> <table width="100%" height="20px" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="text-align:center; font-size: 24px">Create Account</td> </tr> </table> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr height="5px"> <td style="border: 1px gray solid; color:#FF9900;" bgcolor="#666666" colspan="2"><strong>Create Account</strong> - New Account</td> </tr> <tr height="5px"> <td style="border-bottom: 1px gray solid; border-left: 1px gray solid; border-right: 1px gray solid;" colspan="2"> <table> <tr> <td bgcolor="#999999" width="70%"><strong>Nickname/Username:</strong><br> (*required)</td> <td width="30%"><input maxlength="20" style="border: 3px #999999 solid; font-size:9px; height:20px; width:145px" type="text" name="user_name"></td> </tr> <tr> <td bgcolor="#999999" width="70%"><strong>Real E-mail:</strong><br> (*required)</td> <td width="30%"><input maxlength="20" style="border: 3px #999999 solid; font-size:9px; height:20px; width:145px" type="text" name="real_mail"><br>(This Email will not be public but is required, will be used to send your password if you lost it)</td> </tr> <tr> <td bgcolor="#999999" width="70%"><strong>Secret word:</strong><br>(*required </td> <td width="30%"><input name="secret_word" type="text" style="border: 3px #999999 solid; font-size:9px; height:20px; width:145px" maxlength="20"><br>Use the Secret word to retrive you account information if you lose it.</td> </tr> <tr> <td bgcolor="#999999" width="70%"><strong>Date:</strong><br>(locked)</td> <td width="30%"><input name="date" readonly="" type="text" style="background:background-color:#CCCCCC; border: 3px #999999 solid; font-size:9px; height:20px; width:145px" maxlength="20" value="<? print(date('D M d, Y g:i a')); ?>"></td> </tr> <tr> <td bgcolor="#999999" width="70%"><strong>Password:</strong><br> (*required)</td> <td width="30%"><input type="password" maxlength="20" style="border: 3px #999999 solid; font-size:9px; height:20px; width:145px;" type="text" name="password"></td> </tr> <tr> <td bgcolor="#999999" width="70%"><strong>Re-type Password:</strong><br> (*required)</td> <td width="30%"><input type="password" maxlength="20" style="border: 3px #999999 solid; font-size:9px; height:20px; width:145px;" type="text" name="password"></td> </tr> <tr> <td align="center"><input type="submit" style="border: 3px #999999 solid; font-size:9px; height:20px; background-color:#666666 " value="New User"></td> </tr> </table> </td> </tr> <tr> <td>
Og, mit eks er også kun et eks. Jeg tvivler på at du kan indsætte den rå kode, og det virke. Det er meningen at du selv skal tilrette koden. De evt. variablel navne, osv.
Hvis det virker som en problem for dig, og måske ikke så overskueligt, ville det være bedst at du læste op på noget mere.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.