i'm tryin to get the if command to work on my site so that I can get the buttons to show for registering if a certain user is at the first rank. The current code that I have is as follows; </php if ($rank) !== Unregistered) { echo '<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click- but24.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> <rest of the code> } else { echo '<A HREF="https://www.paypal.com/cgi-bin/webscr? cmd=_subscr-find&alias=therealzerocool%40gmail%2ecom"> <IMG SRC="https://www.paypal.com/en_US/i/btn/cancel_subscribe_gen.gif" BORDER="0"> </A>'; } ?> On the account i'm testing with it should not be showing both buttons on the lase one, but both of them show. What am I doing wrong? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php