PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Is there a reason why you're using isset($_POST['whatever']) to instead of empty($_POST['whatever'])?
I ask because I had issues earlier this week using isset() instead of empty() when I was looking to see if the $_POST variable had data in it. empty() worked better for what I was doing. :shrug:
ReverendDexter wrote:Is there a reason why you're using isset($_POST['whatever']) to instead of empty($_POST['whatever'])?
No reason in particular, other than to familiarize him with isset(). isset() has a larger range of use than empty(), although empty() would work perfectly fine in this situation.