Change how we test to see if a variable is set (PHP Notice: Undefined
index issue) by using isset() instead of ($variable!='')