I'm not sure how to add CONCAT into the current format of the following:
$sql = "UPDATE " . USERS_TABLE . " SET numbers = " . ($user_id) . " WHERE user_id = " . $userdata['user_id'];
Maybe to make it clearer of what my script is suppose to do.
Lets say numbers = 1. When my script runs the first time, numbers= 1,2. When it runs another time, numbers= 1,2,3. This is how the numbers should appear in the database. With the numbers, and the numbers seperated by commas.
Currently when my script runs it replaces the old number with the new number. For example if numbers= 1, then when the script runs the first time, numbers= 2. That's not what I want. I want the 1 to stay with the addition of the comma and 2.