How to delete a value to a field separated by comma

“update “.FOLLOWING_FOLLOWERS.” set board_id=
TRIM(BOTH ‘,’ FROM REPLACE(CONCAT(‘,’, board_id, ‘,’), ‘,$board_id,’, ‘,’)),`follow_on`='”.$this->currentdate.”‘
where user_id=$userid
and following_follower_id=$following_follower_id
and type='”.FOLLOWING.”‘ and status='”.FOLLOW.”‘”;

Advertisements

About venkatraja

student
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s