PHP variables inside SQL results? -


so, if say

$bike = 'schwinn'; 

can have select statement returns your bike $bike. , have echo $statement your bike schwinn. without additional parsing?

by using concat function in mysql can:

select concat('your bike ', bike, '.') 'bike' bicycles bike = 'schwinn' 

demo


Comments

Popular posts from this blog

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -