$Host
$Host :
Security Tip
MySQL User SQL_USER must only have access : SELECT , INSERT, UPDATE, execute stored procedures
UPDATE : to other user ?
_determineType(mixed $item) : string
This method is needed for prepared statements. They require the data type of the field to be bound with "i" s", etc.
This function takes the input, determines what type it is, and then updates the param_type.
mixed | $item | Input to determine the type. |
The joined parameter types.
_buildQuery(integer $numRows = NULL, array $tableData = NULL) : object
Abstraction method that will compile the WHERE statement, any passed update data, and the desired rows.
It then builds the SQL query.
integer | $numRows | The number of rows total to return. |
array | $tableData | Should contain an array of data for updating the database. |
Returns the $stmt object.