Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h2><?php echo $row['title']; ?></h2>
- <?php $desc = explode("###BEGINPOST###",$row['content']); ?>
- <p>
- <?php if(strlen($desc[1]) > 150)
- {
- echo substr($desc[1], 0, 149);
- }
- else
- {
- echo $desc[1];
- }
- ?>
- </p>
- <a href="video-tutorial/<?php
- $title = str_replace(array(",",".",":",";","!","&","@","£","$","#","%","^","&","*","(",")","[","]"," "),"-",$row['title']);
- echo strtolower($title)."-".$row['postid']; ?>" class="action-btn golden">Watch Video</a>
- </div>
Add Comment
Please, Sign In to add comment