PHP_Framework

Wh1t3projects' PHP framework. Small PHP framework for building web apps and websites

View the Project on GitHub

Syntax: SQL_insert(string $tableName, string||array $columns, string||array $valuesToInsert)

Insert value(s) into a table with the specified column(s).


Parameters

$tableName
The table to insert into


$columns
The column(s) to insert data to. Can be either a string or an array of strings. If an array, an array of string must also be specified for $valuesToInsert.

$valuesToInsert
The value(s) to insert. Can be either a string or an array of strings. If an array, an array of string must also be specified for $columns.


Return values

TRUE if the operation was successful. FALSE if an error occurred.


Examples:

To be completed

Example 1 description
Block of code

Example 2 description
Block of code