Jump to content

j_prakash81

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

j_prakash81's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thank's guys...... will keep in touch...... ;) -------------- thammudu
  2. what is different between [color=blue]echo[/color] and [color=blue]print[/color] function..
  3. 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>"; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.