uploading image & getting back from database
- by Anup Prakash
Putting a set of code which is pushing image to database and fetching back from database:
<!-- <?php
error_reporting(0);
// Connect to database
$errmsg = "";
if (! @mysql_connect("localhost","root","")) {
$errmsg = "Cannot connect to database";
}
@mysql_select_db("test");
$q = <<<CREATE
create table image (
pid…