-5

所以,如果我说

$bike = 'Schwinn';

我可以有一个返回的选择语句并且Your bike is a $bike.没有额外的解析吗?echo $statementYour bike is a Schwinn.

4

1 回答 1

0

通过在 MySQL 中使用CONCAT函数,您可以:

SELECT CONCAT('Your bike is a ', bike, '.') as 'Bike' FROM bicycles where bike = 'Schwinn'

演示

于 2013-08-19T23:35:37.697 回答