> if ($_POST['op'] != 'ds') {
>     $display_block = "
>     <form action=\"$_SERVER[PHP_SELF]\" method=\"POST\">
>     Your E-mail Address:
>     <input type=text name=\"email\" size=40 maxlength=150/>
>    <input type=radio name=\"action\" value=\"sub\" checked/>subscribe<br/>
>    <input type=radio name=\"action\" value=\unsub\" />unsubscribe
>     <input type=\"hidden\" name=\"op\" value=\"ds\"/>
>     <input type=submit name=\"submit\" value=\"Submit Form\"/>
>     </form>";
> }


try:

if (isset($_POST['op']) && $_POST['op'] != 'ds')

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to