If i use this code to take as input a number it works fine
<form method = "post">
Hours: <input type="text" name="myvar">
</form>
<?php
require 'connect.php';
if (isset($_POST["myvar"])) {
But the following code to get 2 numbers doesn't go pass if. How can i make this work?
<form method = "post">
Hours: <input type="text" name="myvar">
</form>
<form method = "post">
Minutes: <input type="text" name="myvar2">
</form>
<?php
require 'connect.php';
if (isset($_POST["myvar"]) && isset($_POST["myvar2"])) {