Hello guyzzz i'm realy new to PHP. Recently im train my self to code in php with simple radio button but it's not working. the idea....there is a two radio button in my page, when the user chose and click the submit button it should transfer to particuler page.....anybody can help me... the code goes like this <? [color=green]$choise; $a = "a" ;[/color] print "<CENTER> <table border='0' width='20%'> <form method='POST' action=$choise.php> <tr> <td colspan='2' >Selection</td> </tr> <tr> <td width='1%'><input type='radio' name='select' value='a' checked></td> <td>A to page A.php</td> </tr> <tr> <td><input type='radio' name='select' value='b'></td> <td>B to page B.php</td> </tr>" [color=green]if ($a == select) { $choise = $a;[/color]print "<tr ALIGN='CENTER'> <td colspan='2'><input type='submit' value='Submit' name='B1'></td> </tr>" [color=green]else { $choise = $b[/color]print "<tr ALIGN='CENTER'> <td colspan='2'><input type='submit' value='Submit' name='B1'></td> </tr>" } print "<BR></form></table>"; ?>