Or if you would rather have your web host do all the database work, you could do some PHP script that would take either POST form data or URL Query and process it to go into your database. The problem then is getting the data back as a file your game can process.
I think if your PHP is bad or non-existent, you're better off with learning the MySQL-based Pascal library.
Plus having a script like that could open it's self up to security leaks or falsely given data. Cheating and hacking.