i have created one table called role and the fields are like (roleid,role,prohibitedprocess,prohibitedports) here roleid is unique. and i have a comma separated value for \"
You can edit the whole string . .
I mean just using str_replace function
e.g
$string = "skype,teamviwer,notepad"; $old_value = "skype"; $new_value = "facebook"; $new_string = str_replace($old_value,$new_value,$string);
Then simply update this new string into database table. .