I have added a new dropdown field at the top of main ads home.
I have already created a new select field in post ads page, so when members adds new ad then metro name will also be added in database table.
Now , I want to filter ads in ads home page according to metro city they select.
e.g. Logic should be , SQL statement SELECT * FROM bx_ads_main where Metro='$value'
$value= $_POST['metro']; /* where value will be posted from select input field as shown in screenshot.
So, What changes should i do in bxAdsModule.php to achieve this.
Thankyou