0
<?php

 if(isset($_POST['submit'])) {

      $username = $_POST['namea'];
             echo " hello {$_POST['namea']}";

 }


?> <form method = "post" action = "">
<input type = "text" name = "namea"/>
<input type = "password" name = "pass"/>
<input type = "submit" name = "Login"/>
</form>

i want it to display my name on the browser after i click login button, instead of getting the name its displaying nothing on my side what could be the error here

maurice
  • 5
  • 5

0 Answers0