in reply to popup_menu from database
Here's some high-level advice: Life gets easier when you can break a problem in independent sub-problems. Building a pop-up menu from a database is a great example of a problem that divides into parts that can be developed and tested independently. The only trick in combining the two is deciding on the data structure that communicates the results of the first sub-problem (getting the data out of database) with the second sub-problem (turning it into a pop-up menu).
Dividing the problem increases the likelihood of getting help. Instead of dumping a large problem on the table, you pose a smaller, more focused one. In this case, "How do I fetch a set of rows from MySQL and turn them into (some data structure)?"
Or, if your question is "what datastructure is best if I want to create a pop-up menu?", ask that. Notice how MySQL drops away entirely.
Asking focused questions improves your chances of getting focused answers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: popup_menu from database
by powerhouse (Friar) on Apr 06, 2003 at 04:44 UTC | |
by Enlil (Parson) on Apr 06, 2003 at 06:43 UTC | |
by powerhouse (Friar) on Apr 06, 2003 at 13:01 UTC |