Thanks to all the great posts, I currently have an html page that changes about 20 or so fields on an html page depending on what graphic the user clicks on. The data is was initially created in an array in a js in the header of the document.
I then created an external js script to house that array and its still works fine. The problem is that the data in the array needs to change/be updated from a database - I thought mysql would be a logical choice as my softcart database is too quirky in this approach.
Can anyone tell me if its possible to retreive mysql data from a static html page, after the page is loaded.
Would it be logical to have an external js script that calls a server side program that fetches the data (i.e perl, PHP)??? And if so, what would that look like.
Any thoughts or direction would be a great start.
Thanks,
Rich
I then created an external js script to house that array and its still works fine. The problem is that the data in the array needs to change/be updated from a database - I thought mysql would be a logical choice as my softcart database is too quirky in this approach.
Can anyone tell me if its possible to retreive mysql data from a static html page, after the page is loaded.
Would it be logical to have an external js script that calls a server side program that fetches the data (i.e perl, PHP)??? And if so, what would that look like.
Any thoughts or direction would be a great start.
Thanks,
Rich