Jump to content

Output information to display on external site


wemustdesign

Recommended Posts

I have a website that lists courses. I want each tutor to be able to add a piece of code that will display upcoming courses on their website. I am unsure of the best, secure way to do this.

 

Could I simply create a file with a function and allow the tutor to add this to their site something like:

 

<? include "http://www.mysite.com/showCourses.php?user=peterPan; ?>

 

This showCourses.php would connect and query my database, would this work?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.