I am trying to post 2 queries where user will type the relevant data in the search box and using the drop down list available to search in the database.
Can i do a search query like this:
Code:
$sql = "SELECT *
FROM wsdevice, subcon
WHERE wsdevice_num LIKE '%$val_d%' OR subname LIKE '%$val_sub'%";