show-image-from-mysql

show image from mysql

Hey , Today we know about how to show image from mysql .Before we know upload image to mysql .If you don’t read ,please read this tutorial .So do not waste time ,go to main subject .
Step 1
Now we create a page name see.php



That code retrieve image from mysql . But not show directly image . Again create a page where we call the image in tag .

show-image-from-mysql.
Create a page name call.php








";
	echo "";
	echo "";
	echo "";
	echo "";
	echo "";	 
 for($i=0;$i<$number_of_rows;$i++)
  {
	while($row=mysql_fetch_array($sql)){
	echo "";
	echo "";
	echo "";
	echo "	";
	echo "
IDIMAGE
".$row['id']."
"; } } } else{ echo "No image on the list"; } ?>

In this page show image and id continuously .Now run this page your localhost or online server. Now upload and show image =D enjoy coding !

Comments
  1. Nice post. I was checking constantly this blog
    and I am impressed! Extremely useful information specially the
    last part :) I care for such info much. I was seeking this certain info for a long
    time. Thank you and best of luck.
    circuit.xn--badrowa-c5a.dlugoleka.pl recently posted…circuit.xn--badrowa-c5a.dlugoleka.plMy Profile

ADD YOUR COMMENT

*
CommentLuv badge
Close
Free Tutorial for you !
If you like this site , like and stay for new amazing tutorial !!

Twitter

Facebook

Google+