1

私はphpを学び始めたばかりです。送信ボタンが押された後、またはアンカータグが押された後にエコーステートメントを開始するにはどうすればよいですか。

これまでの私のコードは次のとおりです

form name="myform" method="get" actions="madlib01.php"

 Name: <input type="text" name="name" /> <br />


     <input type="submit" name="submit" />

<?php

$Name = $_GET['name'];

$hello .= "Hello $Name";

echo $hello  //I would prefer the echo to happen after the submit button is hit

?>
4

3 に答える 3