Jump to content

[SOLVED] attaching string


asmith

Recommended Posts

hey guys :)

 

can i attach a string to a field ? 

 

update table set id=id+3 ...

 

the code above add 3 to whateer id number is . 

now if i have a varchar field , can attach some sentence to it ?

 

like if the field name is "john" , i attach "smith" at the end of it . something like :

 

update table set name=name+"smith"    //   add it to the end of the string 

 

how should it be ?

Link to comment
https://forums.phpfreaks.com/topic/83718-solved-attaching-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.