Filter an MySql Database with PHP/JS

Job ID: 31034749

Budget: €30 – €250 EUR

On a small website is shown a table from a MySql Database with the records of the actual month with the possibility to choose another time range. Now I need to filter for the two colums "name" and "phonenumber" and at the end of the website should be the count of the remaining lines.

The current webseite: http://pyrotechnik.it/temp/
index.php -> https://pastebin.com/pWhcX2YR
range.php -> https://pastebin.com/85rdNvHN
Related categories: PHP JavaScript AJAX MySQL HTML