[eluser]Dam1an[/eluser]
In the first part you don;t need to, as it's just a single, atomic value, instead of an expression
I think you eed brackets for the second part, as it will probably just assume !empty($bannerads->title) is the else part of the statement, instead of actually doing the whole of the else part, but the bracket forces it to do so