Then I try and show the database image, but it says it contains errors, and sometimes there's nothing stored in the database. I think my code sucks. WTF is wrong?
<?PHP $image = imagecreatefromjpeg([$HTTP_POST_FILES[name][tmp_name]); openDB(); $sql = "INSERT...".addslashes($image)."'"; :) .............