![]() |
|
? |
![]() 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
|
? |
|
|||||||||||||||||||||||||
?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 ">?? ![]() |