mysqli text together with subquery output -


im trying on text+ subquery output error, if searched on internet couln't fild thats helps me situation. here query

update labels set text='bla' indicator='c_'(select label pages id='1') 

'c_' standart text before label, after needs indicator='c_home' example.

i tried subquery within '' didn't work

try that

update labels  set text='bla'  indicator =      concat('c_',          (select label pages id='1')     ) 

and can read manual here


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -