Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

sql_query_prepared()

Description

Used to perform the same DML operation over-and-over-again without the hit of preparing the statement every time.
Useful for re-indexing fields etc.

Example usage:
sql_query_prepared('INSERT INTO `my_table`(`colint`,`colstring`) VALUES (?,?)',array('is',10,'Ten');
Where first array parameter indicates types of bind data:
i=integer
s=string

Parameters

ColumnTypeDefaultDescription
$sql string
$bind_data array

Return

void

This article was last updated 25th November 2020 04:35 Europe/London time based on the source file dated 13th November 2020 16:50 Europe/London time.