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
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.
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
> problem is the news just keeps coming and I have a front page with too
> 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
> 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]