Text is stored in HTML format paragraph tags.
Field Name:descr
Stored data:
<html>
<head>
<title></title>
</head>
<body>
<div class="campusInfoNamesake">
<p>If someone had said to me ten years ago that autism and the therapeutic benefits of gardening will become your life, I wouldn’t have believed them.</p>
<p>Although it’s still very early days, things are starting to take shape on my smallholding in Ceredigion, West Wales.</p>
</div>
</body>
</html>
Above structure only datas stored in table see mysql table image bellow:
I need to retrive only 100 string in the body tag..
I used this code: <?php echo substr($row01[descr], 100); ?>
but i can't get the result when using this code.
Please help me.