Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how to code if i click the read-post.php it will show the whole paragraph. it will bring me to the read-post.php link which will view

how to code if i click the read-post.php it will show the whole paragraph. it will bring me to the read-post.php link which will view the whole post.

here is my current coding where the post is truncated.

fetch()): ?>

= $row['title'] ?>

200){ echo '

' . $truncated . '... Read Full Post

'; } else{ echo '

' . $content . '

'; } ?>

= $row['timestamp'] ?>

">Edit Post

example

what i need is this sample after i click the read full post.

image text in transcribed

My Amazing Blog Ghost on Campus edit November 14,2009 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. Proin iaculis mollis ipsum. Maecenas at purus. Ut pellentesque rhoncus neque. Etiam scelerisque enim et eros. Pellentesque in velit sit amet justo semper placerat. Phasellus enim massa, interdum at, dictum a, dictum eget, arcu. Proin ut tortor. Sed condimentum euismod ligula. Nulla facilisis augue et mauris. Proin sodales elit sed eros. Nunc sed libero sed ligula laoreet sodales. Proin egestas. Duis fringilla facilisis est. Morbi urna ante, varius ut, aliquam interdum, lacinia at, purus. Duis porta tincidunt ante. Fusce pulvinar, nisl non varius luctus, lorem ligula convallis metus, eu luctus odio augue at leo. Donec accumsan, libero sit amet imperdiet commodo, purus sapien tincidunt sem, eu interdum dui quam sed urna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent consequat lorem

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions