Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- </head>
- <form method="GET" action="try3.php">
- <?php
- $aw=$_GET['text'];
- if($_GET['submit']){
- $n=$aw;
- }
- ?>
- <body style='background-color:<?php echo $n;?>'>
- <input type="text" name="text" onclick="style.backgroundColor='red';">
- <input type="submit" name="submit" value="ok">
- </body>
- </form>
- </html>
Add Comment
Please, Sign In to add comment