Hello I seemed to be failing my code:
if (!empty($_POST['id'])) {
echo "empty";
} else {
if (is_numeric($_POST['id'])) {
echo "numeric!";
} else {
echo "not empty but not numeric how come?";
}
}
My browser url: hxxp://localhost/upload/?id=9
OUTPUT: not numeric
how come?
please help.