Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

querry mysql by 2 columns

SELECT * FROM tbl_customer 
    WHERE CustomerName LIKE '%".$search."%'
    OR Address LIKE '%".$search."%' 
    OR City LIKE '%".$search."%' 
    OR PostalCode LIKE '%".$search."%' 
    OR Country LIKE '%".$search."%'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #querry #mysql #columns
ADD COMMENT
Topic
Name
8+5 =