First rule of JavaScriptis you don't talk about JavaScript! Second rule of JavaScript is you _don't_ talk about JavaScript!
But seriously, remember that JavaScript has very, very few input/output functions that can be used outside of a browser. There really isn't a way to create a JavaScript connection object to link to MySQL or any other database package. However, there is a way to "fake" it! You can utilize JavaScript data arrays to access information that is stored on your web page. You would use a scripting language like ASP or PHP to output the array on the page and the access the array elements via JavaScript. While this raises quite a few issues (I'll leave that exercise to you), it is a way to access your database information with JavaScript. Good Luck! Dennis Filter: MySQL, SQL, Query ----- Original Message ----- From: "Michael C. Podlesny" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 7:14 PM Subject: Javascript and mySQL > Is there anyway to retrieve mySQL data from JavaScript? > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php