我有一个将数据提交到MySQL数据库和单独的图像上传系统的表单,所以我希望上传的图像在我的数据库中链接到该特定信息时我该怎么做....因为我想要检索它们并输出给用户....
if (empty($_POST)=== false && empty($errors)=== true){
$post_data = array(
'sold_by' => $_POST['sold_by'],
'username' => $_POST['username'],
'email' => $_POST['email'],
'phone' => $_POST['phone'],
'address' => $_POST['address'],
'category' => $_POST['category'],
'price' => $_POST['price'],
'price_title' => $_POST['price_title'],
'location' => $_POST['location'],
'title' => $_POST['title'],
'description' => $_POST['description'],