vividtea

Processing GET PHP

Sep 8th, 2025
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.23 KB | None | 0 0
  1. <?php
  2. //----- (1) LOGIC -----
  3. $firstName = filter_input(INPUT_GET, 'firstName');
  4. ?>
  5. <!-- (2) HTML template output -->
  6. <!doctype html>
  7. <html>
  8. <head>
  9. <title>process</title>
  10. </head>
  11. <body> Hello <?= $firstName ?></body>
  12. </html>
Advertisement
Add Comment
Please, Sign In to add comment