Commit 557cc1f3 authored by Ajay Tripuramallu's avatar Ajay Tripuramallu

php code for insertion

parent 57084213
$con =mysqli_connect("localhost","swecha","swecha","files");
die("ERROR:could not connect." .mysql_connect_error());
//getting image data
$product_image = $_FILES['image']['name'];
$product_image_tmp = $_FILES['product_image']['tmp_name'];
$sql="INSERT INTO permissionfiles(image)VALUES('$image')";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment