View Single Post
  #3 (permalink)  
Old 01-14-04, 03:50 PM
therat's Avatar
therat therat is offline
Newbie Coder
 
Join Date: Jan 2004
Location: London
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

I have added the following into to the code for the database insertion. I have added the following to insert into the database. Trouble is it adds 2 new entries each time. Will try saving to an array as suggested though. Thanks for the link, very helpfull.
PHP Code:

$thumb $up_files['name'][0];

$archive $up_files['name'][1];
$zipmime $up_files['type'][1];
                
$query "INSERT INTO skinz_images (image_thumb_file,image_download_url)
VALUES ('
$thumb','$archive')";
$result mysql_query($query$skinz) or die(mysql_error()); 
Reply With Quote