I'am trying to make SQL sentences like: The company + company + budget is + budget + . But i can't seem to find out how 😕
12/20/2018 7:00:55 PM
Arne Van Kerckvoorde8 Answers
New AnswerSo I wrote and tested like this: SELECT "my name is" , name FROM table1 WHERE id=1 but return something like this: | my name is | pedro | two columns If you want to concat, use a function SELECT CONCAT ( str1, str2 ) arguments str1, str2 are strings
Pedro H.J Hi pedro. I just want to make a sentence with values from the database inside the sentence. Like: 'Hi my name is: ' + users.name Without using php 😀
I make this with PHP. Exemplo echo "my name is"; echo $var ; Where var is a variable SELECT result from MYSQL database.
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message