Question: how can i make my php code that If blog content is larger than 200 characters the displayed content is truncated to 200 characters. If

how can i make my php code that If blog content is larger than 200 characters the displayed content is truncated to 200 characters. If the content is truncated a "Read Full Post" link should be displayed after the content. (This link includes a GET parameter to specify the post id.) An edit link is displayed for each post. (The link includes a GET parameter to specify the post id.)

how can i make my php code that If blog content is

here is my current coding:

div> fetch()): ?>

= $row['id'] ?>

= $row['title'] ?>

= $row['content'] ?>

= $row['timestamp'] ?>

Edit Post

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non nibh. Duis aliquet leo et ante. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Read Full Post

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!