getting the values of a php array into a javascript array.
Posted: Wed Jan 12, 2005 6:08 pm
this is what I am trying to do I am trying to get all the pictures in a directory and feed them into a php array then I want to take that array and feed it to a javascript array so I can use them with javascript
any body now how I can do this or if this can be done
like i want to use them for an image gallery that I am trying make. its going to use OnmouseOver and OnmouseOut events I need a way to get all the files in the directory thats where php comes in then I want to use javascript to reference them on the page.
any body now how I can do this or if this can be done
like i want to use them for an image gallery that I am trying make. its going to use OnmouseOver and OnmouseOut events I need a way to get all the files in the directory thats where php comes in then I want to use javascript to reference them on the page.