Im using a gallery script called SimpleViewer and it has a .xlm file where you insert the image urls and stuff. But my image urls are in a mySQL database. Is there any possible way to use PHP in that .xml file? Thanks,
Are you asking if you can use PHP to fetch the URLs in the database for use in SimpleViewer? I do not want to assume anything, so here are a few options. It appears that SimpleViewer has several methods to manage the gallery. Are you using the manual method? If so, use a CRON job to write the XML file out. The scheduled job will fetch the URLs out of the database and write it to the XML file. Simple and requires NO modifications to the existing script. If this approach does not meet your requirements, let me know.