RE: [PHP] manage number of rows displayed
| From: | PHPBeginner.com | Date: | Mon, 05 Feb 2001 11:20:19 +0000 |
| Subject: | RE: [PHP] manage number of rows displayed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38213@lists.php.net to get a copy of this message | ||
You don't really need a LIMIT statement in here. There are still 20 Records
to be shown on the page, right? The problem you have is the layout ...
then juts create (in your loop) the table in such a way that each 5 records
(or better say ~Num/4) will output some new thing to compose your table...
or, make it be 4 different Arrays and loop them in a way to create an
adeguate table ...
SQL is not really helpful in here ...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Jacky@lilst [mailto:jacky@activelifestyle.com]
Sent: Tuesday, February 06, 2001 6:20 AM
To: Milan Mlynarcik
Cc: php-general@lists.php.net
Subject: Re: [PHP] manage number of rows displayed
No sure if i get it, very inexperience user here I am. Baiscally if the
number of records returns is 20 records, in stead of display all 20 recodrs
in one column in a page, I would like to display that as 4 columns and each
columns has 5 recodrs displayed, how can I use limit statement to do that?
Jack
jacky@activelifestyle.com
"There is nothing more rewarding than reaching the goal you set for
yourself"
----- Original Message -----
From: Milan Mlynarcik <mmlynarcik@charmed.sk>
To: Jacky@lilst <jacky@activelifestyle.com>
Sent: Monday, February 05, 2001 2:03 AM
Subject: Re: [PHP] manage number of rows displayed
> You can use LIMIT statment in your query
>
> Milan Mlynarcik
> ----- Original Message -----
> From: "Jacky@lilst" <jacky@activelifestyle.com>
> To: <php-general@lists.php.net>
> Sent: Monday, February 05, 2001 9:23 PM
> Subject: [PHP] manage number of rows displayed
>
>
> Hi,
> After I run a query, how do I set the number of rows returned to display
as
> 3 or 4 columns in a page instead of one column as usual?
> Jack
> jacky@activelifestyle.com
> "There is nothing more rewarding than reaching the goal you set for
> yourself"
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net