Hello,
I created a simple blog on a web site. On homepage I am displaying the
last posts.
For each post I show the Post Title, the Post Updated Date and the
beginning of the Post Body.
When the user clicks Title it will be redirected to a new page showing
the full Post Body ....
The Post Body might contain HTML code ... the content is defined in
the variable PostBody.
How can I get the beginning part of PostBody??
- I need to be sure that I don't break HTML code;
- I would like to define an approximate length.
Is this the way how is it done?
Thank You,
Miguel