I know it involves a loop but I don’t know which one to use and I don’t have the idea on how to initiate it. I’m on my 2nd week of learning php as my 1st coding language. I hope you can help. Thank you!
<table border="1"> <?php if(isset($_POST['submit'])){ $name = $_POST['name']; echo "<tr><td>" . $name . "</tr></td>";emphasized text } ?> </table> <form action="" method="post"> <input type="text" name="name"> <input type="submit" name="submit"> </form>