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 19th March 2024 07:05 Europe/London time based on the source file dated 8th March 2024 15:10 Europe/London time.