The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

What is wrong with this code??

Hi all,

Just wondering if anyone can tell me what is wrong with the following code, if anything. I can enter details into the database just fine using my PHP script, but when it comes to file uploading I get an error. Thanks for any help! See my post below if you want to see more of the code, and my post below that if you want to see the full code (although it has been modified as suggested in some of the replies).
Cheers,