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 department

Re: [PHP] Populate Popup Menu from Database

2002-07-01 Thread Mike Tuller
'$department/option; } ? /select From: Erik Price [EMAIL PROTECTED] Date: Mon, 1 Jul 2002 09:18:12 -0400 To: Mike Tuller [EMAIL PROTECTED] Cc: php mailing list [EMAIL PROTECTED] Subject: Re: [PHP] Populate Popup Menu from Database On Saturday, June 29, 2002, at 11

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 well,

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 Monday, July 1, 2002, at 04:22 PM, Mike Tuller wrote: Thanks

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 :) --

[PHP] Populate Popup Menu from Database

2002-06-29 Thread Mike Tuller
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 reflect in the menu the next time you go to the page. I

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

RE: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Cal Evans
:[EMAIL PROTECTED]] Sent: Saturday, June 29, 2002 10:42 AM To: php mailing list Subject: [PHP] Populate Popup Menu from Database 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

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 [EMAIL PROTECTED] Subject: RE: [PHP] Populate Popup Menu from Database

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Mike Tuller
: 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 and want the items in the menu to be populated from

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 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 one

Re: [PHP] Populate Popup Menu from Database

2002-06-29 Thread Mike Tuller
PROTECTED] Cc: php mailing list [EMAIL PROTECTED], Jason Wong [EMAIL PROTECTED] Subject: Re: [PHP] Populate Popup Menu from Database 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