Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #16820
| From | super70s <super70s@super70s.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Limit "most popular" to 100 |
| Date | 2016-07-04 10:38 -0500 |
| Organization | Datemas.de http://www.news.datemas.de |
| Message-ID | <super70s-BB47CD.10383304072016@boina.datemas.de> (permalink) |
(This question is for everyone but R.Wieser)
I have a "Most Popular Pages" page on my site, with the page titles and
brief descriptions listed based on the number of page views. I need to
limit the number of page titles to 100 instead of having it display
every single page title in the database, which is what it's doing now. I
think this is the pertinent code:
<?while ($rshome = mysql_fetch_array($cmdartcat)) { ?>
Is there an easy way to accomplish what I want by modifying this somehow?
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
Limit "most popular" to 100 super70s <super70s@super70s.invalid> - 2016-07-04 10:38 -0500
Re: Limit "most popular" to 100 Richard Damon <Richard@Damon-Family.org> - 2016-07-04 09:06 -0700
Re: Limit "most popular" to 100 "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-04 18:11 +0200
Re: Limit "most popular" to 100 super70s <super70s@super70s.invalid> - 2016-07-05 22:32 -0500
Re: Limit "most popular" to 100 "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-06 14:02 +0200
csiph-web