Jump to content

snb2990

New Members
  • Posts

    1
  • Joined

  • Last visited

snb2990's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. <?php if (isset($_POST['name'])&&isset($_POST['password'])) { $name= $_POST['name']; $password= $_POST['password']; if(!empty($name)&&!empty($password)) { echo 'ok'; } else { echo 'please enter all fields'; } } ?> <form action="new.php" method="POST"> Name: <input type="text" name="Name"> password: <input type="password" name="password"></br> <p></p> <input type="submit" name="submit" value="submit"> </form>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.