$conn->query("INSERT INTO code example
Example: insert php code
<?php
$host = "localhost";
$username = "username";
$pass = "";
$db="furniture";
// Create connection
$conn=mysqli_connect($host,$username,$pass,$db);
if(!$conn){
die("Data connection error");
}
?>