Hi, I have this news script with the function to upload a image to each news ID. And i want o break out the upload part for other use, it all works but there are 2 files i want to get rid off: "DbSql.inc.php" and "NewsSql.php" i want to move the info from them to the other files but when i try every thing goes bad :( So if someone who's a bit smarter then me could help me.. anyone who wants to try is welcome, shouldn´t be that hard just that im to mutch of a noob [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /] *Note i allready starting modding the script so there are stuff in it that arent in use anymore. first prio of mod is newsadmin.php Here is the adress for the script, all files included: [a href=\"http://www.zad.se/php/news.rar\" target=\"_blank\"]www.zad.se/php/news.rar[/a] thx for a helping hand. //zad