At the "low" level, if you need to get some quick and dirty database queries up onto the web, PHP is probably the best way to do it. Big and bloated PHP web apps are the worst, but if you are looking for a way to add and remove a few entries here and there, then it is a good solution for a targeted problem.