Use isset to stop php notice and bind param