Are you connecting to FileMaker database or to MYSQL database?
I assume it is MYSQL as you asked.
You can connect to MYSQL directly: PHP Connect to MySQL
Or you can connect to MYSQL through FileMaker PHP API:
2 of 2 people found this helpful
This is a big issue with recent FM releases. No more CWP PHP API sample files. They were last available in FM13.
I will get them up in the community as a resource today.
Did you you read the PHP guide?