Hey all,
I have a small array with field names that I would like to store them in a
string so that I can include it in an SQL string later.
ie:
@Fields = (field1,field2,field3);
I want $SQLFields = field1,field2,field3;
of course $SQLField = @Fields; returns the list field1 field2 field3,
my $SQLfields = join ',', @Fields;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Scott Taylor wrote:
Hey all,
I have a small array with field names that I would like to store them in a
string so that I can include it in an SQL string later.
ie:
@Fields = (field1,field2,field3);
I want $SQLFields = field1,field2,field3;
of course $SQLField = @Fields; returns