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 25th June 2025 21:35 Europe/London time based on the source file dated 19th May 2025 16:50 Europe/London time.