database - Mass insert data at end of MySQL field -


how go mass inserting ending </div> tag defined field name in mysql?

thanks heaps.

consider using concat command:

update jos_content set fulltext = concat( fulltext, '</div>' ) id = 7; 

if wanted update records in single query, remove clause above.

please note, depending on server side language you're using, you'll want setup parameterized query prevent sql injection or other hacks.


Comments

Popular posts from this blog

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -