How can i store and display the images in a MySQL database. Till now i have only written the code to get the images from the user and store them in a folder, the code that i
insert image zh
-while we insert image in database using insert query
$Image = $_FILES['Image']['name']; if(!$Image) { $Image=""; } else { $file_path = 'upload/'; $file_path = $file_path . basename( $_FILES['Image']['name']); if(move_uploaded_file($_FILES['Image']['tmp_name'], $file_path)) { } }