In most other languages, if something goes wrong while creating an object, I can have my constructor return null and that's the end of it, the object is not created.
Hi Karfeef, it looks like it's a problem with your SQL. You'll want to replace "SELECT" with "VALUES" and put all the values within a single set of parenthesis. Also you had some things in...
PHP is server-side, so there's no way to shrink the image before or during upload with PHP. The only PHP solution would be to edit your php.ini as hastx said, then use the PHP image libraries to...
The code Mindzai gave you are two different methods, so you can either do it the MySQL way or the PHP way, you don't have to use both at the same time. :)
It's kind of hard to read through your markup, but the way you usually do an "order review" kind of page is submit that form to a page that accepts the $_POST variables.