how to add a extra value to a field separated by comma in mysql

$concat_id=’,’.$board_id;
$sql=”update “.FOLLOWING_FOLLOWERS.” set board_id=concat(board_id, ‘$concat_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