How to find the image location
move_uploaded_file( $_FILES["images"]["tmp_name"][$key], "img/" .
$_FILES['images']['name'][$key])
the above code shows that the new location of my image is
"img/" . $_FILES['images']['name'][$key]).
How can i store this in a variable so that I can pass this location in
mysql database for the purpose of retrieving the image.
No comments:
Post a Comment