Re: [PHP] $POST Q

2006-12-18 Thread Jochem Maas
Richard Lynch wrote: > On Mon, December 18, 2006 7:09 am, Nisse Engström wrote: >> On Fri, 15 Dec 2006 23:22:13 -0600 (CST), "Richard Lynch" wrote: >> >>> $selected = $l == $limit ? 'selected="selected"' : ''; >>> echo "$l\n"; >> [snip] >> >>> The value="x" *is* optional, but you'll never

Re: [PHP] $POST Q

2006-12-18 Thread Richard Lynch
On Mon, December 18, 2006 7:09 am, Nisse Engström wrote: > On Fri, 15 Dec 2006 23:22:13 -0600 (CST), "Richard Lynch" wrote: > >> $selected = $l == $limit ? 'selected="selected"' : ''; >> echo "$l\n"; > > [snip] > >> The value="x" *is* optional, but you'll never convince the people >> who >

Re: [PHP] $POST Q

2006-12-18 Thread Nisse Engström
On Fri, 15 Dec 2006 23:22:13 -0600 (CST), "Richard Lynch" wrote: > $selected = $l == $limit ? 'selected="selected"' : ''; > echo "$l\n"; [snip] > The value="x" *is* optional, but you'll never convince the people who > tell you it isn't, unless you force them to read the RFCs and W3C > re

Re: [PHP] $POST Q

2006-12-15 Thread Richard Lynch
On Tue, December 12, 2006 2:14 am, William Stokes wrote: > Can someone tell me what wrong or to how to manage this? > > //default > $limitorig = 10; > > echo ""; > echo "$limitorig"; > echo "10"; > echo "20"; > echo "30"; > echo "; $l\n"; } ?> The value="x" *is* optional, but you'll never c

Re: [PHP] $POST Q

2006-12-12 Thread Chris
William Stokes wrote: Hello, Can someone tell me what wrong or to how to manage this? //default $limitorig = 10; echo ""; echo "$limitorig"; echo "10"; echo "20"; echo "30"; echo "; Something like this would be better: $limitorig = 10; $options = array('10', '20', '30'); if (isset($_POST['

Re: [PHP] $POST Q

2006-12-12 Thread Jochem Maas
William Stokes wrote: > Hello, > > Can someone tell me what wrong or to how to manage this? > > //default > $limitorig = 10; > > echo ""; > echo "$limitorig"; ^^ what do you think $_POST['USRlimitorig'] will be if you select the first option? > echo "10"; > echo

Re: [PHP] $POST Q

2006-12-12 Thread clive
William Stokes wrote: Hello, Can someone tell me what wrong or to how to manage this? //default $limitorig = 10; echo ""; echo "$limitorig"; echo "10"; echo "20"; echo "30"; echo "; firstly its better to use 10 this might also solve your problem if I understand your question correctly.