i'm trying to do a query via phpMySQL where i add onto data that already exists in a field. Example: right now the field contains "this is my text" and i want to make it read "this is my text i hope you like it" without replacing it but adding "i hope you like it" onto it. i tried this:
and other slight variations...but no go. can't seem to find exactly what i'm looking for in searches either.
little help please?
Code:
UPDATE tablename SET fieldname = (fieldname + 'i hope you like it') WHERE 'id' = 1;
little help please?


Comment