este es mi codigo:
Código PHP:
Ver original
<?php { $host = "localhost"; $user = "root"; $pass = ""; $db = ""; echo "<form name='agregando' method='post' action='formulario-final.php'>"; echo "<table>"; echo "<tr>"; echo "<td> Nick :</td>"; echo "<td><input type ='Text' name='nick_nuevo'></td>"; echo "</tr>"; echo "<tr>"; echo "<td> Email :</td>"; echo "<td><input type ='Text' name='email_nuevo'></td>"; echo "</tr>"; echo "<tr>"; echo "<td> Pais :</td>"; echo "<td>"; echo "<select name='pais'>"; echo "<option value=''> </option>"; echo "<option value='USA'>USA</option>"; echo "<option value='Canada'>Canada</option>"; echo "<option value='Chile'>Chile</option>"; echo "<option value='Argentina'>Argentina</option>"; echo "<option value='Francia'>Francia</option>"; echo "<option value='Italia'>Italia</option>"; echo "<option value='Japon'>Japon</option>"; echo "<option value='Egipto'>Egipto</option>"; echo "</select>"; echo "<tr>"; echo "<td> Contraseña :</td>"; echo "<td><input type ='password' name='contraseña_nuevo'></td>"; echo "</tr>"; echo "<tr>"; echo "<td><input type ='Submit' name='agrega' value='Aceptar'></td>"; echo "</form>"; echo "<form name='cancelando' method='post' action='formulario-entrada.php'>"; echo "<td><input type ='Submit' name='cancela' value='Cancelar'></td>"; echo "</form>"; echo "</tr>"; echo "</table>"; } ?>