This is a discussion on Follow up, sorted it out, erronous variable within the PHP Language forums, part of the PHP Programming Forums category; (code) $mail = ""; $mail=$radio; if ($mail == "yes") { // stick into database //then the database login and update $...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
(code)
$mail = ""; $mail=$radio; if ($mail == "yes") { // stick into database //then the database login and update $result = mysql_query($sql); 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) |
|
|||
|
"george" <russell@waiheke.co.nz> wrote in message news:bcab4b38.0309090139.407385e5@posting.google.c om... > (code) > $mail = ""; > $mail=$radio; > > if ($mail == "yes") { > // stick into database > > //then the database login and update > > $result = mysql_query($sql); > 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) Whats your question? |