Assemble an insert string
Assemble a statement string for the INSERT statement you want to execute.
If you know the values you want to insert into the columns, you can create a basic SQL statement; that is, one that you can execute with mi_exec(). If you do not know the column values, use input parameters in the statement string in place of the column values in the VALUES clause. You must prepare any parameterized INSERT statement with a call to mi_prepare(). Preparing a statement that contains input parameters shows a statement string for an INSERT that contains input parameters.