David Siegel in "Creating Killer Web Sites" 1st edition said frames are good
only for show details of a list of objects like recipes, products or in your
case news!
You can have a frameset with three frames say top, left and main (center).
Put some ad on the top , the headlines of your news on the left and its
bodies on the main frame .
You can limit the number of headlines using the keyword "limit" ( see MySQL
manual ) and put a anchor tag in every headline to a php script passing the
"news_id" and show the selected new on the main frame.

HTH

Jayme.

-----Mensagem Original-----
De: Matthew Cothier <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: quarta-feira, 28 de fevereiro de 2001 13:13
Assunto: [PHP-DB] Selecting number of news items on frontpage


> I have a homepage which has a news headline system. Bascially via form the
> admin of the site can submit news which appears on the front page, the
only
> problem is the news just keeps coming and I have a front page with too
many
> headlines on.
>
> How can I make it so that say 7 articles appear on the front page and the
> rest can be accessed through some sort of archive?
>
> Perhaps a link underneath these articles to the archive?
>
> And the actual archive a page with the headlines listed that they can
click
> on and view the story, the headlines listed in date order.
>
> How would I do this?
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to