Monday, 19 August 2013

PHP variables inside SQL results?

PHP variables inside SQL results?

So, if I say
$bike = 'Schwinn';
can I have a select statement that returns "Your bike is a $bike."
and have echo $statement be "Your bike is a Schwinn." without additional
parsing?

No comments:

Post a Comment