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? Link to comment https://forums.phpfreaks.com/topic/72150-solved-mysql-database/ 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 Link to comment https://forums.phpfreaks.com/topic/72150-solved-mysql-database/#findComment-363786 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 Link to comment https://forums.phpfreaks.com/topic/72150-solved-mysql-database/#findComment-363848 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.