Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2.  
  3. $where = '';
  4. if(isset($_GET['nome']))
  5.     $where .= 'AND nome like "%'.$_GET['nome'].'"';
  6. if(isset($_GET['cpf']))
  7.     $where .= 'AND cpf like "%'.$_GET['cpf'].'"';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement