Using PHP in Javascript, is there any easy ways?

josephman1988

New member
Hi guys,
I've got an external javascript file that the webmaster would have to edit to add 'events' to a mini calendar, however, I have an event form in the admin cp that will send info to a database, and i want to grab the data, and insert the information into the javascript (using a while condition) to prevent the webmaster from doing that.

Any help would be great. =]
 
Back
Top