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
Try using mysql_select_db in between the database connection and the table creation.
Also, mysql_ is deprecated, please use mysqli_ instead
mysql_
mysqli_