someoneneedshelps
Technical User
Why does this show me the fields required message?
Code:
$urlstr = filter_input(INPUT_POST, 'urlstr');
$shippingcost = filter_input(INPUT_POST, 'shipping');
if (!empty($urlstr) && !empty($shippingcost))
{
.....do code
}
elseif(isset($_POST['Submit']))
{
echo "both fields required<br>";
}
else
{
display form at astart...
}