Thursday, May 23, 2013

Image upload to MYSQL database using PHP part II

<?php
include_once('db.php');

$id = addslashes($_REQUEST['id']);

$image = mysql_query("SELECT * FROM image WHERE id=$id");
$image = mysql_fetch_assoc($image);
$image = $image['image'];

echo $image;
?>

1 comment:

Wallpapers said...

http://www.phpbotu.com/php-ile-adres-satirindaki-linki-almak-ve-ekrana-yazdirmak-kodlariyla-birlikte-php-botu/