Posted by Nadine St-Amand on 06/18/05 16:48
Tony wrote:
> Second, you can't include an array variable inside a
> string like that you'll have to use concatenation.
In fact you need to know that string inside single quote '' arent
interpreting variables but those inside double-quotes are.
for instance you can write $sql = "select * from $table";
but you may not write $sql = 'select * from $table';
--
Nadine St-Amand
Code generator sql2php http://www.phpbackend.com/
Navigation:
[Reply to this message]
|