Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

ps_param_fill()

Description

When constructing prepared statements and using e.g. ref in (some list of values), assists in preparing the parameter array.

Parameters

ColumnTypeDefaultDescription
$array array The input array, to prepare for output. Will return this array but with type entry inserted before each value.
$type: string array; foreach $array as $a
$type string The column type as per ps_query

This article was last updated 21st May 2024 11:05 Europe/London time based on the source file dated 3rd May 2024 13:10 Europe/London time.