Re: [PHP] Populate Popup Menu from Database

2002-07-01 Thread Mike Tuller
Thanks for the tip. > From: Erik Price <[EMAIL PROTECTED]> > Date: Mon, 1 Jul 2002 17:05:39 -0400 > To: Mike Tuller <[EMAIL PROTECTED]> > Cc: php mailing list <[EMAIL PROTECTED]> > Subject: Re: [PHP] Populate Popup Menu from Database > > > On Monda

Re: [PHP] Populate Popup Menu from Database

2002-07-01 Thread Erik Price
On Monday, July 1, 2002, at 04:22 PM, Mike Tuller wrote: > Thanks. Here is what I did for future reference. Good. What you chose to do is exactly what I do except for one thing... : > $sql = "select department_name from Departments"; I generally grab the primary key column value as wel

Re: [PHP] Populate Popup Menu from Database

2002-07-01 Thread Mike Tuller
p mailing list <[EMAIL PROTECTED]> > Subject: Re: [PHP] Populate Popup Menu from Database > > > On Saturday, June 29, 2002, at 11:41 AM, Mike Tuller wrote: > >> What is here is beyond my understanding, and seems like it is a little >> much >> for what I nee

Re: [PHP] Populate Popup Menu from Database

2002-07-01 Thread Erik Price
On Saturday, June 29, 2002, at 11:41 AM, Mike Tuller wrote: > What is here is beyond my understanding, and seems like it is a little > much > for what I need. > > Here is what my database table looks like: > > Departments > department_id > department_name > > I just want to list the de

Re: [PHP] Populate Popup Menu from Database

2002-06-30 Thread Jason Wong
On Sunday 30 June 2002 03:03, Mike Tuller wrote: > To let everyone know, I did apologize to Mr. Wong. I misunderstood what he > was trying to ask me. I took it as he was saying "It's easy, what is "your" > problem" rather than "What "is" your problem" . Thanks. But no need to call me "Mr" though

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Mike Tuller
gt; > Date: Sat, 29 Jun 2002 13:50:14 -0500 > To: Mike Tuller <[EMAIL PROTECTED]> > Cc: php mailing list <[EMAIL PROTECTED]>, Jason Wong > <[EMAIL PROTECTED]> > Subject: Re: [PHP] Populate Popup Menu from Database > > Mike Tuller wrote: > >> I on

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Chris Shiflett
Mike Tuller wrote: >I only ask questions if I have tried to do something myself already. I am >not looking for someone to do something for me. When I do ask a question >though, I feel I deserve at least a little respect. If you want to be an >ass, do it somewhere else. > It seems *you* are the on

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Jason Wong
On Sunday 30 June 2002 00:31, Mike Tuller wrote: > I only ask questions if I have tried to do something myself already. I am > not looking for someone to do something for me. When I do ask a question > though, I feel I deserve at least a little respect. If you want to be an > ass, do it somewhere

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Mike Tuller
TECTED]> > Organization: Gremlins Associates > Reply-To: [EMAIL PROTECTED] > Date: Sat, 29 Jun 2002 23:54:22 +0800 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Populate Popup Menu from Database > > On Saturday 29 June 2002 23:41, Mike Tuller wrote: >> I have some popup menus

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Mike Tuller
Thanks. I thought the example I found was a little to complicated for something like this. > From: "Cal Evans" <[EMAIL PROTECTED]> > Date: Sat, 29 Jun 2002 11:03:16 -0500 > To: "Mike Tuller" <[EMAIL PROTECTED]>, "php mailing list" > <[E

RE: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Cal Evans
Hi Mike, Check out ADODB. It's a database abstraction layer for PHP that has functions to do this. (php.weblogs.com) Otherwise it's kinda easy to do this, here's some psuedo-code that shoudl get you going. fields['departmentID']; ?>">fields['departmentName']; ?> ?> =C= * * Cal Evans * Jo

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Jason Wong
On Saturday 29 June 2002 23:41, Mike Tuller wrote: > I have some popup menus and want the items in the menu to be populated from > a database. In this case I have a table that contains a listing of > departments. I have a page that I can go in and add/delete departments, and > want the changes to