Reputation: 361
I am looking to build a platform which will allow users to add timings on the user section and then they can add few codes to display the time on their website.
So far I have completed the back section using PHP and Mysql where users can add/update timings.
Now I am stuck for the front panel.
Two things to know that this widget kind of thing will be displaying to their website so I have to setup remote connection to database on my server obviously without giving database credentials to the users.
I am new to PHP and didn't know till today that "Include" only works for the local server so I can't include my database.php which holds mysql credentials.
If you go on this website http://islamicsocietyoftoronto.com you will notice prayer time on right hand. This is actually I am trying to replicate.
Any help would be really appreciated.
Upvotes: 1
Views: 242
Reputation: 11374
You put the URL
to your timer in an <iframe>
that your users can put on their page.
Upvotes: 1