[thelist] [sql] append function?

rudy r937 at interlog.com
Tue Jan 7 18:27:46 CST 2003


> Is there anything like:
> $sql = "update $tableName set field = APPEND($newData) where....";
> I have googled,  searched a few favourite php haunts, and even the mysql
> manual with no joy as yet...

you musta just missed it

  update $tableName
     set field = concat(field,'$newData')
     where ...

see  http://www.mysql.com/doc/en/String_functions.html


rudy



More information about the thelist mailing list