convert array to string
Posted: Sat Mar 01, 2008 5:02 am
hey guys.. i have table named group and 2 fields id and groupname... i am selecting the groupname but i have this result
group: Array
this is my code
how can i convert the array to string to see the group name
group: Array
this is my code
Code: Select all
$groupName = $db->select("SELECT groupname FROM ".$glob['dbprefix']."CubeCart_group WHERE id = $group");
$profile->assign("VAL_GROUP",$groupName);