Uploading blob files/images into Mysql

前端 未结 2 677
没有蜡笔的小新
没有蜡笔的小新 2021-01-24 21:55

I had this php code that take values from an html form (name, file, photo, address,.....), and try to insert or update them in sql database.



        
2条回答
  •  情书的邮戳
    2021-01-24 22:14

    Try to initialise the variable. I have added the entire code. You don't need to get $_POST['file'].

    \n

    "; echo $remarcs."

    \n

    "; echo $test_res."

    \n

    "; echo $address."

    \n

    "; echo $phone."

    \n

    "; } echo "Uploaded"; } else { echo "Not uploaded"; } } mysqli_close($con); ?>

提交回复
热议问题