Re: form help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yes i realize that
so this the reason i asked for the ajax..
so can u help me with that

Chaitanya



On Sat, May 15, 2010 at 4:32 PM, lists-php <
replies-lists-b3z1-php@xxxxxxxxxxxxxxxxxxxxx> wrote:

> PHP is server-side, so the only way (strictly within php) to get a
> second drop-down to change after a selection has been has been made
> on a first drop-down is to submit the page (back to the server). You
> can do what you're after with javascript/ajax, as you seem to
> realize, but not in a php-only context.
>
>     - Richard
>
> ------------ Original Message ------------
> > Date: Saturday, May 15, 2010 03:54:29 PM +0530
> > From: Chaitanya Yanamadala <dr.virus.india@xxxxxxxxx>
> > To: php-db@xxxxxxxxxxxxx, bang-phpug@xxxxxxxxxxxxxxx
> > Subject:  form help
> >
> > hai
> >  i need to develop a form in which there are two drop down boxes.
> > depending on the selection of the first drop down box the other
> > box should be changed..
> > like that of ajax..
> > both the boxes get their options from the mysql database..
> >
> > the code is available at
> >
> >
> > http://pastebin.com/1cW10VHL
> >
> >
> >
> > the mysql database is here
> >
> >
> > http://pastebin.com/5KrkRHku
> >
> >
> >
> > the code is named as employee.php if it is php extension then it
> > is only showing till team option and the rest are not showing..
> >
> > if i change the extension to html then it is showing all the
> > values but my php code is nt working..
> >
> > Regards
> > Chaitanya
>
> ------------ End Original Message ------------
>
>
>

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux