Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $select = "select * from app_persons ORDER BY `title` ASC";
- $query = mysql_query($select);
- while($row = mysql_fetch_array($query))
- {
- ?>
- <div class="post style-1 bottom-2">
- <h3 class="title bottom-1" style="width:600px;"><?php echo $row['title']; ?></h3><!-- Title Post -->
- <div class="image-post">
- <a href="single_post.html"><img src="/project/admin/upload/<?php echo $row['image']; ?>" style="width:600px;height:300px;"></a>
- </div><!-- End slider image-post -->
- <div class="post-content">
- <p style="width:650px;">
- <?php echo $row['description']; ?>
- </p>
- <a href="single_post.html" class="button small color">Read More</a>
- </div><!-- End post-content -->
- <div class="post-meta bottom-1">
- <div class="meta"><i class="icon-time"></i> <?php echo $row['last_updated']; ?> </div><!-- Date -->
- </div><!-- End post-meta -->
- </div>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement