Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul class="sequence-canvas">
- <li class="animate-in">
- <div class="intro">
- <h2>
- My Discount Pharmacy //set title from db
- </h2>
- <h3>
- We are an end to end healthcare service provider where the doctors can enter their prescriptions, patients can upload their prescriptions. //set subtitle
- </h3>
- </div>
- <img class="iphone" src="img/seq-slider/iphone.png" alt="iPhone4" /> //set image1 from DB
- <img class="iphone-shadow" src="img/seq-slider/iphone-shadow.png" alt="" /> //set image2 from DB
- </li>
- <li>
- <img class="ipad" src="img/seq-slider/ipad.png" alt="iPad" />//set image1 from DB
- <div class="slide2">
- <h2>
- My Discount Pharmacy // set title from DB
- </h2>
- <p>
- We are an end to end healthcare service provider where the doctors can enter their prescriptions, patients can upload their prescriptions. //Set subtitle from DB.
- </p>
- </div>
- <img class="ipad-shadow" src="img/seq-slider/ipad-shadow.png" alt="" /> //set image2 from DB
- </li>
- </ul>
- <?php
- $sql=mysql_query("select * from phr_news order by news_id desc");
- while($row=mysql_fetch_array($sql)){
- $title=$row['title'];
- $subtitle=$row['sub_title'];
- $image1=$row['image1'];
- $image2=$row['image2'];
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement