diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/SQL/sql2.php b/SQL/sql2.php index 0023712..f844b93 100644 --- a/SQL/sql2.php +++ b/SQL/sql2.php @@ -27,6 +27,7 @@ // Create connection $conn = new mysqli($servername, $username, $password,$db); + $conn = mysqli_connect($servername,$username,$password,$db); // Check connection if ($conn->connect_error) { diff --git a/SQL/sql3.php b/SQL/sql3.php index 773619f..d73dba7 100644 --- a/SQL/sql3.php +++ b/SQL/sql3.php @@ -20,6 +20,8 @@ + +