skip to Main Content

Mysql – unable to create a price filter using php and html form

I'm trying to create a price filter using a html form and php prepared statements. My form looks like this: <form class="hotel-form" action="#" method="get"> <label for="price-per-night" class="land-label">Price-per-night:</label> <select class="filter-form" name="price" id="price-per-night"> <option value="100">£0-100</option> <option value="101-200">£101-200</option> <option value="300">£201-300</option> </select> <input type="submit"…

VIEW QUESTION
Back To Top
Search