hard to explian
| From: | Mark Lo | Date: | Fri, 04 Aug 2000 10:30:54 +0000 |
| Subject: | hard to explian | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10109@lists.php.net to get a copy of this message | ||
Hi,
Is there anyone can give me an idea of how to write a script. This script will do the
following fucnctions.
1.. It counts how many rows in the databases, if there are 1000 rows in the database.
2.. Then, the total number of rows which is 1000 then divided by 50 which comes out a result of
20.
3.. Fianlly, this script will automatically assign twenty values in a combo box such as
"first 50's", "second 50's"....and till the "last
50's".
4.. But the major point is that we do not know how many rows will be in the database. if there
are 44 rows in the database, then the values in a combo box should be only the "first
50's".
Please give me an idea of how to write such program(script).
Thanks in advance
Mark Lo