here code
@$sql="select * mp_images id='5' , status='0'"; @$query=mysql_query($sql); while(@$row=mysql_fetch_array($query)) { @$image=$row ['photo']; ?> <img src="image/<?php echo $image; ?>" width="360" height="150"> <?php } ?>
i want display current latest images after have added database
just order them id
@$sql="select * mp_images status='0' order id desc limit 1";
Comments
Post a Comment