Saturday, April 16, 2016

Uploading Image File With PHP (Showing Uploaded Image) : Part-06

Related Code:
<?php
   $query = "select * from tbl_image order by id desc limit 1";
   $getImage = $db->select($query);
   if ($getImage) {
    while ($result = $getImage->fetch_assoc()) {
  ?>
  <img src="<?php echo $result['image']; ?>" height="100px" 
   width="200px"/>
  <?php } } ?>

How to practice tutorials…

  • Make a team with your friends (Member should be 4/5).
  • Start to practice one tutorial series along with them.
  • Don’t try to collect source code. Type the code while watching the tutorial.
  • If you face any problem, discuss with team members to solve quickly.