I have to perform a query similar to:
<?php
//....connect to database
$old = "a,b,c,d";
$new = "e,f,g,h";
$insert = "UPDATE TABLE SET FIELD = CONCAT(" . $old . ", " . $new . ") WHERE something = 'something';
mysql_query($insert);
?>
So basically, I want to append the current database entry with a the 'new' string which contains commas. But since the CONCAT functions uses commas I'm having trouble..
Anyone have any tips to accomplish this?
Thanks everyone!