I can not get implode() nor join() to work when i try to use it with $vbulletin->GPC[]. Here's what i have so far:
PHP Code:
$vbulletin->input->clean_array_gpc('r', array(
'deleted_items' => TYPE_ARRAY,
));
echo $vbulletin->GPC['deleted_items'];
echo "<br />";
$deleted_items = implode(',', $vbulletin->GPC['deleted_items']);
echo $deleted_items;
But the GPC gets outputed but the new variable with the joined array is empty.
Output:what am i doing wrong?
eric
oops, nevermind. i wasn't passing anything to the array in the first place, of course it would be empty... :P