I would like to know if there is any performance problem while using 1=1 condition in sql query.
for example:
Such condition becomes handy in conditional search. For example
....so onPHP Code:if(isset($name)){
$sql_where .= " AND name='".$name."'";
}
And using in query:
Yours opinion please!!









Bookmarks