Also, be familiar with $iif(), it's usefully applicable in this case (instead of if+else).


* cold edits his posts 24/7