how to create api in php mysql