linusthefish wrote:
Is it possible to use JavaScript & MySQL? What I'm looking to do is
query a database and then output the results in a popup window. I've
got the popup window part down, I just can't figure out how to query
the database.
Is it possible?
TIA,
Benjy
Well, under normal circumstances it is not possible, however
I myself do MySql transactions from javascript in the browser
every day.
I created a middleware server on my host that takes a url encoded
request and returns the results as JASONized XML that my scripts convert
back to an XML object passed to a javascript defined callback function
The cross-domain javascript I wrote , simply inserts script tags
dynamically that cause as many transactions with MySql as desired
without a page reload