Hi guys. I need to write a simply conditional statement to check what kind of value the submission is. I'm trying to get the first part to run, but it's not working. What am I doing wrong?
<?php
if (isset($_POST['submit']) && isset($_POST['entry']))
{
$entry = ($_POST['entry']);
if (is_int($entry))
{
echo "integer";
}
else {
//not finished yet
}
}
?>