Advertisement
krot

WHERE nk.id

Oct 6th, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. if($idRoute)$WHERE[]=' nk.`idRoute`='.(int)$idRoute;
  2.     if($idClient)$WHERE[]=' nk.`idClient`='.(int)$idClient;
  3.  
  4. (!empty($WHERE)?'WHERE '.implode(' AND ',$WHERE):'')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement