how about trying this...

while { [ns_db getrow $db $row ] && rowCtr <=5 } {
...
}

or
while {( [ns_db getrow $db $row ]) && (rowCtr <=5) } {
...
}


----- Original Message -----
From: "Prakash Sinha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 11:13 PM
Subject: [AOLSERVER] Anding in while construct


> Hi All,
>         I want to && rowCtr in while construct, but i think i am wrong.
Cud
> somebody suggest me the way.....
>
> while {[ns_db getrow $db $row  &&  rowCtr <= 5]}
> ************error***********************
>
> Thanx,
> Prakash
>

Reply via email to