06-01-2005, 07:33 PM
|
#5 (permalink)
|
|
The Acquainted
Join Date: May 2005
Posts: 106
Thanks: 0
|
a few additions to Ryan's code
at the top do this
$row =$value = array();//initialize just to avoid some notices which might come up later on.
and then in insert statement
$sql = "INSERT INTO xbox (" . implode(',', $row) . ") VALUES ('" . implode('','', $value) . "')";
just updated to add '(single quotes) around the values
__________________
---------------------------
Errors = Improved Programming.
Portfolio
|
|
|