Re: Selecting number of news items on frontpage
| From: | JJeffman | Date: | Thu, 01 Mar 2001 21:19:05 +0000 |
| Subject: | Re: Selecting number of news items on frontpage | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7061@lists.php.net to get a copy of this message | ||
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 <matthewcothier@hotmail.com>
Para: <php-db@lists.php.net>
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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>