'Search query for 2 text box

My sql query is :

$sel = "select * from search where name like '$search%' and price >'$price' ";

but I didn't get the correct result.

There are some problems in price Database



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source