In html file , i achive a inputs and send the value to php file for filtering

<select>
    <option value = '0'>All</option>
    <option value="Andhra Pradesh">Andhra Pradesh</option>   
    <option value="Arunachal Pradesh">Arunachal Pradesh</option>

</select>
<select>
    <option value = '0'>All</option>
    <option value = 'Male'>Male</option>
    <option value = 'Female'>Female</option>
</select>

if the user select all then 0 value go to the PHP file and hoe to sort all the data and if the user selects one option

for example, if the user select city Andhra Pradesh and gender both then sort the data from database for all gender and only city Andhra Pradesh and if user sort male and all cities then show the male data that belong to any city

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.