I used wampserver to create a phpmyadmin server but the URL in my browser is set to localhost/phpmyadmin. I want to know how I can change it to something more specific like my ip/phpmyadmin which can then be used by my friends to access the databases on it.
How would I go about doing such a thing?
localhost/phpmyadmin is just the url for you, because the server is on your computer. If you want your friends can use phpmyadmin, you just have to give them your ip/domain and they will access it with ip/phpmyadmin.
You'll maybe need to configure your firewall.