Hi everyone, thanks for having this type of forum. Hope you will be able to help me

So here is my script, the idea is basic, complete a html form and subtmit the data to php script which will send the data in a SQL table. It also uploads pictures.
Now the script isn't perfect yet, it still needs some conditions and stuff for all situation.
But for now the important part, i need to find out why i cannot store data in the database.
Systeme Config:
- WampServer Version 2.0
- Apache 2.2.11
- PHP 5.3.0, Default configs
- MySQL 5.1.36
There was something in my script that makes your website go nuts (Internal Error+ additional 404) so i pasted it on PasteBin, i hope this is ok with everyone.
http://pastebin.com/u4dy7Sr5Thanks in advance.
Danoussh