php - How to call on next page through readmore link -
i'm using script in php. have added readmore option want user clicks on link open new page full article , gallery pictures. want open same window.
echo "<div id=message>"; $text = $row["message"]; <?php echo substr($text,0,500);?> <a href="#"?id=<?php echo $row['id']?> title="full story of <?php echo $row['title']?>">read more »</a>
please try following:
echo "<div id=message>"; $text = $row["message"]; <?php echo substr($text,0,500);?> <a href="readmorepage.php?id=<?php echo $row['id']?>" title="full story of <?php echo $row['title']?>" target="_self">read more »</a>
although _self default value of same need not write it.
Comments
Post a Comment