Advertisement
Guest User

Untitled

a guest
Jan 30th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. $search[0] = strtoupper($search[0]);
  2.  
  3. $query = "
  4. SELECT * FROM data_magazine
  5. WHERE UPPER(author_name) LIKE '%".$search[0]."%'
  6. OR UPPER(author_surname) LIKE '%".$search[0]."%'
  7. OR UPPER(rubric_title) LIKE '%".$search[0]."%'
  8. OR UPPER(number_of_magazine) LIKE '%".$search[0]."%'
  9. OR UPPER(year_of_magazine) LIKE '%".$search[0]."%'
  10.  
  11. ";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement