Re: [PHP] dynamically fill list box

2002-03-14 Thread Jason Wong
On Friday 15 March 2002 03:11, you wrote: > Sorry... The error I get on members.php page is > "if ( == paid)" is printed if 'paid' is selected > or "if ($paid == no)" is printed if 'not paid' is selected > from this piece of code > print "Paid: name='paid' value='$row->paid'> > p

Re: [PHP] dynamically fill list box

2002-03-14 Thread Analysis & Solutions
Hey Gee: On Fri, Mar 15, 2002 at 08:11:06AM +1300, gee wrote: > print "Paid: > > paid > not paid > "; I'd take a slightly different approach (wrapped for email)... paid=='paid') ? ('checked ') : ('') ); ?> /> Yes paid!='paid') ? ('checked ') : ('') ); ?> /> No

Re: [PHP] dynamically fill list box

2002-03-14 Thread gee
;; - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 9:36 PM Subject: Re: [PHP] dynamically fill list box > On Thursday 14 March 2002 16:07, gee wrote: > > A real newbie would be grateful for so

Re: [PHP] dynamically fill list box

2002-03-14 Thread Jason Wong
On Thursday 14 March 2002 16:07, gee wrote: > A real newbie would be grateful for some help. > I have a sports club membership database (Mysql) with first and last names, > address and paid or not paid. > In edit.php I would like to be able to pre-fill a list box with whether the > person has pai

[PHP] dynamically fill list box

2002-03-13 Thread gee
A real newbie would be grateful for some help. I have a sports club membership database (Mysql) with first and last names, address and paid or not paid. In edit.php I would like to be able to pre-fill a list box with whether the person has paid or not, change if necessary, update the database and