i am trying to insert some data in database using this code : i'm using this code to insert image into databse but  some error keep popping plz help me out
    
    <?php
    if(isset($_POST ['insert_post']))
    {
    $product_title=$_POST['product_title'];
    $product_cat=$_POST['product_cat'];
    $product_brand=$_POST['product_brand'];
    $product_price=$_POST['product_price'];
    $product_desc=$_POST['product_desc'];
    $product_keyword=$_POST['product_keyword'];
    $product_img=$_FILES['product_image']['name'];
    $product_img_tmp=$_FILES['product_image']['tmp_name'];   
    }
    echo $insert_product="insert into products
               (product_cat,product_brand,product_title,product_price,product_desc,product_imag   e,product_keyword) values
 ('$product_cat','$product_brand','$product_title','$product_price','$product_desc','$product_img','$product_keyword')";
 ?>





  