IncorrectBondGamer wrote:Your name for the select field does not match what you are asking for in request_var. Select name is "cats[ ]" and request_var is "cats". They have to match.
creates an array of results the variable is still just
catsbut it's an array.
Code: Select all
$cats = request_var('cats', array(0));