trying to add text to an existing value in mysql using mysql's concat function?
so existing value is currently 'john' and after function has run will be 'johnewvalue'
i am trying to add a piece of text ':reply' to the existing text which is in my subject column in my database ptb_messages.
i am trying to do this using mysql's concat function but im not getting any result what so ever.
$sql = mysql_query("UPDATE ptb_messages SET subject = CONCAT subject, 'newvalue' WHERE id='".$message_id."'");
can someone please show me a way of getting it to do what i want. thanks.