php-windows Digest 6 Aug 2007 15:19:02 -0000 Issue 3302

Topics (messages 28321 through 28321):

Help with if
        28321 by: Stephen

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
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? 

--- End Message ---

Reply via email to