RW BDs
$query="INSERT INTO ( ) VALUES ( )";
$mysqli->query($query);
$query="UPDATE SET WHERE id='$id' ";
$mysqli->query($query);