Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 24th May 2024 10:35 Europe/London time based on the source file dated 3rd May 2024 13:10 Europe/London time.