Use an alias for the column.
GROUP_CONCAT( provision_id ) as pids
...
echo $content->pids
VolkerK
2009-07-20 15:37:06
Use an alias for the column.
GROUP_CONCAT( provision_id ) as pids
...
echo $content->pids
If you are fetching into objects, you should give your columns names that are legal class member identifiers in PHP (I'll link to the manual, although their description of valid variable names is horrible):
SELECT ... GROUP_CONCAT(provision_id) AS provisions