Indeed. When he told you empty() and isset() the first thing you do is look them up at php.net. If you don't understand what they say you read further down at the user-contributed comments. If you want to know how to program you need to be able to read documentation. If you're not willing to do that then you may as well give up.
The previous sentence is false. The following sentence is true.