View Single Post
Old 06-01-2005, 07:33 PM   #5 (permalink)
jaswinder_rana
The Acquainted
 
Join Date: May 2005
Posts: 106
Thanks: 0
jaswinder_rana is on a distinguished road
Default

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
Send a message via MSN to jaswinder_rana
jaswinder_rana is offline  
Reply With Quote