How to display images from database to Web page.
These are the step to which display the webpage image from the database Step 1. Create table in Database. CREATE TABLE IF NOT EXISTS `images` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL, `image` longblob NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; Step 2 PHP code <?php //Database connection set by config file include_once('include/config.php'); ?> <html> <body> <form method="post" enctype="multipart/form-data"> <br/> <input type="file" name="image" /> <br/><br/> <input type="submit" name="sumit" value="Upload" /> </form> <?php ...