I would like to make some query using the SELECT function. However i wasnt able to get the results i want.
My code is as follow:
$sql = "SELECT *
FROM device
WHERE ((device_num like '%$val_d%') OR (dib like '%$val_dp%')) ";
can i write it in this way? pls advise thanks people..:)