What is your coding style for using PHP isset and empty function. By using isset and empty function as per requirement we can remove unwanted “Notice: Undefined index…” notice. I suggest coding style #2, what is yours?
isset()
Determine if a variable is set and is not NULL.
empty()
Determine whether a variable is empty.