Im trying to write an else statement in php where: if keyword is equal to letter or word it will give me an error message. right now my statement looks like this.
mysqli_stmt_close ($query);
} else //problem with a query
echo "Error: " . mysqli_error($conn);
} else { //no keyword
echo "No keyword was specified";
}else (keyword == "??") {
echo "has to be a number";
}
mysqli_close($conn);
}
?>
</body>
</html>
Keyword is an int