Prompt [Q] google map with marker browser

Hello.
Can u help me create map marker browser?

I want to make files:
- db.txt
- index.php

how it works? :
- I open website index.php , there i have input area where i type text i want .
then google map opens automatically and shows all places/markers which have in tags text i typed .

marker would be saved in db.txt

can u help?