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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -