|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Join variable with string in mysql
How can I join mysql result done by query and "join" it with any string I want to add. In php you should have ever seen this :
$var = $any."variable"; But how can I do something like that in mysql ??? Last edited by newgent : August 31st, 2002 at 07:07 AM. |
|
#2
|
|||
|
|||
|
With concat().
select concat(column1, column2, 'normal text') as whatever ... |
|
#3
|
|||
|
|||
|
Just get it from MySQL table, add with point in PHP
$var = $any."variable"; and put it back to table - UPDATE Sincerely, Sergey Booyny AlarIT programmer http://www.AlarIT.com |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Join variable with string in mysql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|