I want my websites allow users to use pulldown menu to filter through a list of data provided by MySQL. The choices from the pulldown menu is used in the following way:
$pulldown_choice = _GET['pulldown_choice'];
..... #other codes here
$sql = "SELECT * FROM tablename WHERE item LIKE '%$pulldown_choice%';
My question is: do I need to worry about database injection from the pre-defined, pulldown list choices? Thanks!