How do I get info from PHP into my javascript code? (read details)?

  • Thread starter Thread starter Rockstar
  • Start date Start date
R

Rockstar

Guest
I'm trying to create my own image gallery (for learning purposes) and I want to run some javascript that creates an array of a list of files and sub-directories on a server-side directory.

I've got some code here:

http://www.softcomplex.com/forum/viewthread_4319/

How do I connect the PHP code to the javascript? And where do I save the PHP code?
 
Back
Top