Hey THANKS!
It worked.. just the way i wanted! Thank you so much.
T. Edison Jr.
--- RIVES Sergio <[EMAIL PROTECTED]> wrote:
> i don't know if it will work... i am quite a newbie
> in this stuff.
>
> Hope it could help you
>
>
> "Thomas Edison Jr." a écrit :
>
> > Hi,
> >
> > This is the co
Hi,
This is the code i'm using so far :
$myrow[num]
");
} while ($myrow = mysql_fetch_array($result));
}
else {
echo "Sorry, no records matching your criteria were
found!";
}
?>
But this displays all records one per line...
T. Edison Jr.
=
Rahul S. Johari (Director)
*
> Basically what i want is, that on a results page, i
> want that the records
You mean fields
> should be placed only 5 on one line.
> For example, let's say i have 100 usernames in a table
> in my database.
> Now on one page, i want to display all these usernames.
> But i want that in one li
just use something like this in your while-loop:
if ($counter % 5 == 0) {
print "";
}
Greets,
Edward
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 5:08 PM
Subject: Re: [PHP] 5 Re
On Tuesday 12 March 2002 00:03, Thomas Edison Jr. wrote:
> Hi,
>
> I would like to display 5 records per line on the
> Results page. Not seperated by a comma, but just
> seperated by Space. How can i do that?
Pseudo code:
connect to db
make query
while results {
display 5 results separa
Hi,
Thanks for writing back.
Basically what i want is, that on a results page, i
want that the records should be placed only 5 on one
line.
For example, let's say i have 100 usernames in a table
in my database.
Now on one page, i want to display all these
usernames. But i want that in one line
Hi,
I would like to display 5 records per line on the
Results page. Not seperated by a comma, but just
seperated by Space. How can i do that?
Thanks,
T. Edison jr.
=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxa
7 matches
Mail list logo