Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $_SESSION['usuario']=$_POST['nombre'] ;
- $_SESSION['colorfondo']=$_POST['color'];
- ?>
- <html>
- <head>
- <title>Problema</title>
- </head>
- <body>
- <?php
- echo "bgcolor=\"$_SESSION['colorfondo']\"";
- echo "Nombre del usuario es".$_SESSION['usuario'];
- echo "<br><br>";
- echo "El color seleccionado es:".$_SESSION['colorfondo'];
- ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment