All the physicians, doctors, etc...
They LEARNED their craft. They studied the documents available.
On the internet you have zillions of documents about PHP programming, find yourself a beginner tutorial and learn from it.
All the examples already posted on the forum need to be adapted to your needs, by yourself or some coder working on your project.
You can't simply ask for someone to post a full working solution and rip it off as you surely plan to do.
Anyway you would soon come back and ask "how to change this or that" according to your project's needs, and the person would tell you "change it yourself".
As Ghengis said in his previous post, C2 saves you monthes of learning a language.
For your purpose, you need to learn another. It's not that complicated, it just take time and practice.
And this is made simpler as there are many documents (and surely in your own language, whereas C2 is only (mostly) english).
Just make a search on google.