php4-beta | 200004
Date: 04/27/00
- Next message: David Robley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- Previous message: Bradley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- In reply to: Bradley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- Next in thread: Bradley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 28 Apr, Bradley wrote:
> David! I might have known I could count on you for a prompt reply. And a
> repeated request to fix my mailer. =)
>
> Is it fixed now?? I tried..Anyhow!
Looks good from here :-) even if it is THAT software.
>
> Can I use the counter I've already put in with the changes you've made?
>
>> > for ($p = 0;$p < count($row);$p++) {
>
> Thanks heaps!
No - that counter seems to be reset for each row - you'd need to put it
about here:
$rowcounter = 0;
$bgcol1 = 'blue';
$bgcol2 = 'red';
while ($row = mysql_fetch_row($result)){
// test rowcounter mod 2 and echo correct <TR> string
echo "<tr bgcolor=\"#00AAAA\">";
$rowcounter++;
Cheers
-- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: David Robley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- Previous message: Bradley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- In reply to: Bradley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- Next in thread: Bradley: "Re: [PHP4BETA] A (Hopefully) simple question *gulp*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

