Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.79K
1 Posted Topic
filename:display.php <?php $con=@mysql_connect('localhost','root','')or die(mysql_error()); $sdb=@mysql_select_db('interview', $con)or die(mysql_error()); $sql = "SELECT image FROM prodlist where id='{$_GET["id"]}'"; // the result of the query $result = mysql_query($sql) or die("Invalid query: " . mysql_error()); // Header for the image header("Content-type: image/jpeg"); echo mysql_result($result, 0,'image'); ?> when i need to display a image, it works …
The End.
suraa