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)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 6:20 AM
To: Milan Mlynarcik
Cc: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Milan Mlynarcik [EMAIL PROTECTED]
To: Jacky@lilst [EMAIL PROTECTED]
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" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
"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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General 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]