Collections functions
General functions
Render functions
Theme permission functions
Resource functions

ps_array()

Description

Like ps_value() but returns an array of all values found

NOTE: The value returned must have the column name aliased to 'value'

Parameters

ColumnTypeDefaultDescription
$query string SQL query
$parameters array array SQL parameters with types, as for ps_query()
$cache string "" Cache category (optional)

Return

array

This article was last updated 3rd October 2022 12:05 Europe/London time based on the source file dated 3rd October 2022 11:35 Europe/London time.