Northern Flame Posted October 7, 2007 Share Posted October 7, 2007 Hello, is it possible to insert information into a MySQL database with Javascript? I searched on Google but didnt find the answer, can anyone answer this for me? Quote Link to comment Share on other sites More sharing options...
tomfmason Posted October 7, 2007 Share Posted October 7, 2007 Not with javascript from the client side but with jscript from the server side on a windows system you can. var conn = Server.CreateObject ("ADODB.Connection"); conn.Open ("DRIVER={MySQL};SERVER=mysql.yoursite.com;DATABASE=Database;USER=user;PASSWORD=password;Port=3306;Option=131072;"); or something like that.. I have never really tried connecting to mysql via jscript. I always use mssql or access with jscript Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted October 7, 2007 Author Share Posted October 7, 2007 alright thanks, i will give this a try Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.