Thanks, I will try new PDO. Thats how it says in my book, but in the script i have written i use small letters new pdo. The variabels I write I know it's case sensitive. But i am really struggling with i wrote long time ago, and now i have rewritten this to PDO, or at least i try, but i am not so good to this anymore since i have been away from programming for more than 12 - 13 years. SoI have used more than a year on this rewriting. But then i see. I have to change a lot since i have wrote pdo and not PDO as i should.