Hey guys , I have my blog script ready ...
anyway as am making it for mobile phones ,
the blogs must be split into pages to make
it viewable. I already know MySQL PHP
pagination with those LIMIT query etc.
However , I need to split the article itself into pages.
Say ,
[PHP]
<?
$body="You will learn a lot more by attempting the problem yourself and asking for help with the bits that are not working and you will be more likely to get help if you appear to have made an attempt at the problem yourself.";
?>
[/PHP]
The body variable contains that paragraph.
I need to split the article and make view
25 chars a line , and 5 lines a page.
How do I do this ?
Please help me asap.
Thanks so much.
anyway as am making it for mobile phones ,
the blogs must be split into pages to make
it viewable. I already know MySQL PHP
pagination with those LIMIT query etc.
However , I need to split the article itself into pages.
Say ,
[PHP]
<?
$body="You will learn a lot more by attempting the problem yourself and asking for help with the bits that are not working and you will be more likely to get help if you appear to have made an attempt at the problem yourself.";
?>
[/PHP]
The body variable contains that paragraph.
I need to split the article and make view
25 chars a line , and 5 lines a page.
How do I do this ?
Please help me asap.
Thanks so much.
Comment