" . $cat . "
Explode to int php
Explode comma separated integers to intvals? [duplicate] You can always write a small helper function to grab elements from functions that return arrays: EDIT: PHP 5.