#learneveryday #day1  $v="MySQL query". empty($cond) ? "1=1" : $cond; Error- MySQL syntax error at '1=1'  Solution:- $v="MySQL query". (empty($cond) ? "1=1" : $cond);  So a bracket can cause us few mins/hrs of debugging.. #PHP #debugging #CodingTips