Welcome Guest, Not a member yet? Register   Sign In
Pagebreak
#1

[eluser]Kemik[/eluser]
Hello all,

I'm coding a blog backend and want the homepage to only display the content up to the point where it finds a <!-- pagebreak --> You may recognise the comment, it's from a TinyMCE pagebreak.

I know how to find a string in content but I'm not sure how to make it stop when it finds it.

e.g.

Quote:Here is some text.

Blah Blah Blah
<!-- pagebreak -->
And some more

You wouldn't see "And some more".

Thanks.


Messages In This Thread
Pagebreak - by El Forum - 03-30-2008, 05:15 PM
Pagebreak - by El Forum - 03-30-2008, 05:31 PM
Pagebreak - by El Forum - 03-30-2008, 05:34 PM
Pagebreak - by El Forum - 03-31-2008, 03:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB