Titre du sujet : Re: TDMPicture par Venom sur 24/01/2013 08:44:57
Je ne comprends pas franck, la requête et correcte non ?
$import['query'] = "INSERT INTO ".$xoopsDB->prefix("tdmpicture_file")." ( `file_id`, `file_cat`, `file_file`,
`file_title`, `file_text`, `file_type`, `file_display`, `file_hits`, `file_dl`, `file_votes`,
`file_counts`, `file_indate`, `file_uid`, `file_size`, `file_res_x`, `file_res_y`, `file_comments`, `file_ext`)
SELECT `photo_id`, `cat_id` , `photo_name`, `photo_title`, `photo_desc`, NULL, `photo_approved`, `photo_hits`, NULL,
`photo_nbrating`, `photo_rating`, `photo_date`, `uid`, `photo_size`, `photo_res_x` , `photo_res_y`, `photo_comment`, 2 FROM ".$xoopsDB->prefix("extgallery_publicphoto")."";
|