Reply to Re: PHP newbie question

Your name:

Reply:


Posted by Vince Morgan on 04/16/07 15:21

"Me :)" <not@this.time> wrote in message
news:a6p623pccanbtpp5vgua09cs4fpgg7qqn6@4ax.com...
> >You choice of subject is quite poor, it's better you write a subject that
> >describes what you are asking, not what you feel you are.
>
> Sorry.... point taken.
>
>
> >> The HARD part for me is the "conditional" processing for the [radio]
> >> button. It's driving me crazy.
> >
> ><form action="apage.php">
> ><input type="radio" name="group1" value="Milk"> Milk<br>
> ><input type="radio" name="group1" value="Butter"> Butter<br>
> ><input type="Submit">
> ></form>
> >
> >switch($_REQUEST['group1']) {
> > case 'Milk':
> > echo "You like milk!<br>\n";
> > break;
> > case 'Butter':
> > echo "You like butter!!!<br>\n";
> > break;
> > default:
> > echo "You don't like anything<br>\n";
> > break; //not needed, but a good habbit
> >}
>
Another submit button? Don't you just hate it when you make a realy nice
submit button and then you just can't remember where you left it. ;)
Vince

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация