Código:
pd: si alguien me ayuda a configurar al php editor para ver las paginas como quedan en php directamente en ves de ir al explorer y poner localhost/www/... se lo agradeceria <? if ($nickname != "") { if ($password != $password1) { print ' <html> <title>Creando cuenta...</title> <head> <b>Se encuentra creado su cuenta de usuario</b> </head> <body> <p>Error, los passwords no son iguales<br>Vuelta a completar los campos</p> <form name="formulario" method="post"> <table><tr><td><b>Nickname</b></td><td><input type="text" name="nickname"></td></tr> <tr><td><font color="red"><b>Password</b></font></td><td><input type="text" name="password"></td></tr> <tr><td><font color="red"><b>Confirmacion de Password</b></font></td><td><input type="text" name="password1"></td></tr> <tr><td><input type="submit" value="Enviar"></td></tr> </table> </form> </body> </html>'; } else { print ' <html> <title>Creando cuenta...</title> <head> <b>Se encuentra creado su cuenta de usuario</b> </head> <body> <p>Su cuenta a sido creada con exito</p> </body> </html>'; } } else { print ' <html> <title>Creando cuenta...</title> <head> <b>Se encuentra creado su cuenta de usuario</b> </head> <body> <form name="formulario" method="post"> <table><tr><td>Nickname</td><td><input type="text" name="nickname"></td></tr> <tr><td>Password</td><td><input type="text" name="password"></td></tr> <tr><td>Confirmacion de Password</td><td><input type="text" name="password1"></td></tr> <tr><td><input type="submit" value="Enviar"></td></tr> </table> </form> </body> <html>'; } ?>