Follow up, sorted it out, erronous variable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • george

    Follow up, sorted it out, erronous variable

    (code)
    $mail = "";
    $mail=$radio;

    if ($mail == "yes") {
    // stick into database

    //then the database login and update

    $result = mysql_query($sq l);
    if ($result)
    $post = "Yes";
    echo "$font>Add to mail list? $mail</font>";
    }
    elseif ($mail == "no") {
    echo "$font>Add to mail list? $mail</font>";
    $post = "No";
    }
    (/code)
  • Randell D.

    #2
    Re: Follow up, sorted it out, erronous variable


    "george" <russell@waihek e.co.nz> wrote in message
    news:bcab4b38.0 309090139.40738 5e5@posting.goo gle.com...[color=blue]
    > (code)
    > $mail = "";
    > $mail=$radio;
    >
    > if ($mail == "yes") {
    > // stick into database
    >
    > //then the database login and update
    >
    > $result = mysql_query($sq l);
    > if ($result)
    > $post = "Yes";
    > echo "$font>Add to mail list? $mail</font>";
    > }
    > elseif ($mail == "no") {
    > echo "$font>Add to mail list? $mail</font>";
    > $post = "No";
    > }
    > (/code)[/color]

    Whats your question?


    Comment

    Working...