Put this temporary debug code on line 3:
die("UPDATE $title SET arole = CONCAT_WS(',', arole, '$name') WHERE op = '$name'";);
Your query will get displayed with actual values. Copy it to the SQL window of phpmyadmin and see what you get when you run it. If there are errors you will get error messages there that will help you solving the problem.
broj1
Nearly a Posting Virtuoso
1,211 posts since Jan 2011
Reputation Points: 167
Solved Threads: 164
Skill Endorsements: 13
Question Answered as of 2 Months Ago by
broj1