I am trying to read and write to a database. Here is the code I have so far:
$mysql = mysqli_connect(\"example.com\", \"johndoe\", \"abc123\"); // replace wi
Please check syntax of mysqli, it takes 4 parameters.You also have to provide database name.
$link = mysqli_connect("myhost","myuser","mypassw","my_db");