Using MySQL & Java Script
I want to make a mysql connection in Java Script, then how can i get a table value by using this connection.
ASP.Net code
con.ConnectionString =
“Dsn=server1;” +
“Uid=root;” +
“Pwd=root;”;
con.Open();
cmd = new OdbcCommand("Select * from tb_values", con);
cmd.ExecuteNonQuery();
Above Code is working in asp.net, but i want to make a connection & select a values by using JavaScript.
Need JavaScript Code Help.
That’s not possible with javascript otherwise world would have seen your database connection code.