Re: creating a table is there another way to do this?
Yeah I found it and fixed it by being very careful when I typed the code in. I have moved on from that.
I have some more code I will place here. I can't see the problem but I am getting an error on line 15. It is the if statement that is popping up in my browser. I typed in I different cars to load into the database car.inventory.
if ($mysqli->query("CREATE DATABASE Car") === TRUE{
echo "<p>Database Car created</p>";
}
else
{
echo "Error creating Car Database:".mysqli_error_error()."<br>"
}
The error says that there is a problem with the echo. I fixed the first error, but this one is stumping me.
Subject
Written By
Posted
September 21, 2022 12:45PM
September 21, 2022 05:47PM
September 21, 2022 05:56PM
September 21, 2022 05:59PM
September 21, 2022 06:07PM
September 21, 2022 06:02PM
September 21, 2022 07:34PM
September 21, 2022 07:48PM
September 21, 2022 08:22PM
September 22, 2022 08:00AM
September 22, 2022 09:31AM
September 22, 2022 03:50PM
Re: creating a table is there another way to do this?
September 22, 2022 06:05PM
September 22, 2022 06:12PM
September 22, 2022 06:25PM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.