?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: IF statement .... need help please
Author:??(---.cpe.net.cable.roger)
Date:???10-10-03 11:41

if ($cnt==0){
//no rows returned, so error in finding records
print "TRY AGAIN";

}else{

//rows returned, so check values
//if less than 200 --> show no voucher msg
if($points <= 199){

echo ('SORRY NO VOUCHERS');

}elseif ($points>=200){
//there are vouchers so show 'em
print "$points
$vouchers";

}

}

hth

?Topics Author? Date
?IF statement .... need help please??new
will 10-10-03 09:28?
?Re: IF statement .... need help please??new
bastien 10-10-03 11:41?
?Re: IF statement .... need help please??new
will 10-12-03 09:20?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > if ($cnt==0){ > //no rows returned, so error in finding records > print "TRY AGAIN"; > > }else{ > > //rows returned, so check values > //if less than 200 --> show no voucher msg > if($points <= 199){ > > echo ('SORRY NO VOUCHERS'); > > }elseif ($points>=200){ > //there are vouchers so show 'em > print "$points
$vouchers"; > > } > > } > > hth ">??

Provided By
Phorum