A LOT does depend on how you create your database.
A DB is nothing more than a group of records, and the record can have as many fields as you like.
Say you created an Address Book. Each record may contain the following fields:-
Name / 1st Line Address / 2nd Line Address / Town / etc etc. I'm sure you get the idea.
When you create a new record, you populate those fields. Within the DB you use commands to create / find / delete / list etc. The PHP scripts automate each command, so that calling it will create / find / delete / list etc based on the parameters passed.
To add a new record FC would simply call the script and pass the parameters. PHP does the actual job of creating the record.
I'll try and dig out an example.
I'm no expert in PHP/MySql, but thanks to FileMaker I'm no stranger to databases either (great program until crApple bought them over, in my opinion). I spent almost a week trying to get a PIC talking to a DB via an ESP8266 with no success about a decade ago, and reluctantly asked a friend for help (he was extremely busy). I hate him....... It took him about 45 minutes from the end of the call to get a simple PoC running on his server that I could populate from anywhere. That was my intro to PHP/MySql

Regards