$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]
"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
lol, thanks guys. i'm a complete idiot. i've already used .= and such like 5 times
in this very script. i honestly have no idea what i was thinking. a total brainfart
(excuse the expression)
-Ryan
>>> Ryan Vennell<[EMAIL PROTECTED]> 06/30/03 10:31AM >>>
how can i concatenate two strings?
3 matches
Mail list logo