Class.forName("com.mysql.jdbc.Driver").newInstance (); String url="jdbc:mysql://localhost:3306/dbcn?user=root&password="; Connection con= DriverManager.getConnection(url);
if ($resault) echo "successful";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)