@ 2:39:12 AM on 4/12/01, Brian Clark wrote:
...
> @ 2:13:10 AM on 4/12/01, midget2000x wrote:
...
>> //declare the array
>> $info_request = array (1 =>
>"firstname","lastname","email","howfound","optin","comments","request_type","request_bucket","date");
Sorry, I
$info_request = array (1 =>
"firstname","lastname","email","howfound","optin","comments","request_type",
"request_bucket","date");
$flds = implode(",", $info_request);
$sql = "INSERT INTO mytable($flds)"
mysql_query($sql)
hope it helps at least a little.
-elias
http://www.kameelah.org/eassoft
Hi midget2000x,
@ 2:13:10 AM on 4/12/01, midget2000x wrote:
...
> Obviously the code below is impossible, but illustrates what I want to do:
> //declare the array
> $info_request = array (1 =>
>"firstname","lastname","email","howfound","optin","comments","request_type","request_bucket","date")
another newbie programmer question...
is it possible to output the results of an array loop into a variable, or
directly into an SQL call?
Obviously the code below is impossible, but illustrates what I want to do:
//declare the array
$info_request = array (1 =>
"firstname","lastname","email","h
4 matches
Mail list logo