I m using substr in while loop. Using substr I am getting strike in Text; If I omit substr then I get perfect result. I have to substr function; Is there any another alternate function.
if($countrecords>=0)
{
while($row1=mysql_fetch_array($result1))
{
?>
<div style="border-top:1px dashed #cccccc; padding-top:10px;">
<div style="font:bold 11px verdana; padding:10px 0 8px 0; width:100%;" class="headinga">
<a href="show_job.php?id_no=<?php echo $row1['j_id']; ?>" style="color:#551001; font:bold 12px verdana">
<?php echo $row1['j_heading']; ?></a>
</div>
<div style="width:100%;">
<?php
echo substr($row1['j_des'], 0,600).' ..........'; ?>
</div>
<div style="color:red;padding:0px 8px 30px 0px;font-family:Verdana; ">
<a href="show_job.php?id_no=<?php echo $row1['j_id']; ?>" style="color:blue; font:normal 12px verdana; float:right;" >
more... </a>
</div>
</div>
<?php
}
}
?>