[PHP] Re: Concatenate PHP code into a string

2004-06-28 Thread franciccio
$query="INSERT"+" "; for ($i=0;$i ha scritto nel messaggio news:[EMAIL PROTECTED] > Dear List, > How can I include a dynamically generated array: > e.g. for($i=0; $i { $cols[$i]= mysql_field_name($fields,$i); } > > into a MySQL insert query of the type: > $sql= "INSERT cols[0],cols[1],cols[2]

[PHP] Re: Concatenate PHP code into a string

2004-06-28 Thread Torsten Roehr
"Abrea" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dear List, > How can I include a dynamically generated array: > e.g. for($i=0; $i { $cols[$i]= mysql_field_name($fields,$i); } > > into a MySQL insert query of the type: > $sql= "INSERT cols[0],cols[1],cols[2], ..., comment