query($Query_last_data); $row_12_123=mysql_fetch_array($name_last_data); $des=trim(addslashes($row_12_123['description'])); $manufacturer_id=$row_12_123['manufacturer_id']; $tax_class_id=$row_12_123['tax_class_id']; $quantity=$row_12_123['quantity']; $vstatus=$row_12_123['vstatus']; $stock_status_id=$row_12_123['stock_status_id']; $ean=$row_12_123['ean']; $used_for=trim(addslashes($_REQUEST['used_for'])); ?> query($upload_img); // $upload_img = mysql_query("UPDATE shop_product SET image='".$new_file_name."' WHERE id='".$mysql_insert_id."'"); } date_default_timezone_set('Asia/Kolkata'); $date_ss = date('Y-m-d H:i:s ', time()); $tablename = "`tbl_doctor_appointment`"; $date=trim(addslashes($_REQUEST['date'])); $date = date("Y-m-d", strtotime($date)); $product_name=trim(addslashes($_REQUEST['product_name'])); $price=trim(addslashes($_REQUEST['price'])); $sell_price=trim(addslashes($_REQUEST['sell_price'])); $category=trim(addslashes($_REQUEST['category'])); $job_description=trim(addslashes($_REQUEST['job_description'])); $sp_ins=trim(addslashes($_REQUEST['sp_ins'])); $int_price=trim(addslashes($_REQUEST['int_price'])); $weight=trim(addslashes($_REQUEST['weight'])); $disease=0; $used_for=trim(addslashes($_REQUEST['used_for'])); $dosage=trim(addslashes($_REQUEST['dosage'])); $one_line=trim(addslashes($_REQUEST['one_line'])); $company=trim(addslashes($_REQUEST['company'])); $ean=trim(addslashes($_REQUEST['ean'])); $videocode=trim(addslashes($_REQUEST['videocode'])); $Query="UPDATE shop_product SET name='".$product_name."',v_id='". $videocode."',price='". $price."' WHERE `product_id`='".$_REQUEST['id']."'"; $DB->query($Query); header("location:view_video.php?sucess=sucess"); } } ?>
Success! Data Added Sucessfully.
Danger! Already Exists.

Product


'; echo''; } else { echo''; } ?>