J1.php

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <?php if($name=$_POST['lastname']){ $where = "where last_name" } ?> <form method='post'> <input type='text' name='lastname'><input> <input type='submit'> </form> </body> </html>

Resultaat

Made by Thijs Aarnoudse