- $servername = "localhost";
- $username = "username";
- $password = "password";
- $dbname = "myDB";
|Mysqli Insert Query – PHP Code|
First, Create Mysql Username and Password and Database
Second, Create a Table “sms” in Database
Third, Create a Row “id and title” in Table.
Then, Edit following codes to connect your database and username with Mysql.
Then, Create a file “insert.php” and add following codes inside of the file.
|December 24, 2022|
|Mysql, PHP Source Code|