" . mysqli_error($conn); } mysqli_close($conn); ?>In this example, we are inserting a new record into the 'users' table of ClearDB database using mysqli_query() function in PHP. We need to provide the SQL query to insert data into the database. Package Library: mysqli extension