How can I insert an image in a MySQL database using PHP?
问题 I am using this form: <FORM action="testimage1.php" method="post"> <div style="font:bold 10px arial,serif;" >Product Name*</div> <input type="text" name="myuserName" maxlength="50" /><br /> <div style="font:bold 10px arial,serif;" >Upload a photo</div> <input name="uploadimage" type="file" /></br> <div style="font:bold 10px arial,serif;">Product Description:</div> <input type="text" name="product" value=""></br> <input id="submit" type="submit" value="submit" /><br /> </form> and in test1.php