Re:Dynamic pulldown menu from database (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Re:Dynamic pulldown menu from database
|
veron (User)
Fresh Boarder
Posts: 3
|
|
Dynamic pulldown menu from database 10 Months, 1 Week ago
|
Karma: 0
|
|
Mr. Ad. how can I load and dysplay data from database to a pulldown menu? for example a coloumn. Best regards!
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 1240
|
|
Re:Dynamic pulldown menu from database 10 Months, 1 Week ago
|
Karma: 20
|
|
Hi Veron,
It will be a lot easier for people to help you if you could let people know what you've tried.
Is your problem with the
1) reading of the data from database?
2) populating of the data into the liststore? or
3) displaying the data in the liststore to the pulldown menu?
For (2) and (3), there are already plenty of sample codes on this site.
For (1), it's not PHP-GTK specific. It's using plain old PHP. If you're not familiar with how PHP interacts with mysql, there are many tutorial sites and forums on PHP/mysql. I do not want to duplicate any of these. That's why you do not find any sample codes specific to mysql on this site.
In any case, the more information you give people, the easier it is for people to help you.
Regards,
/kksou
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
veron (User)
Fresh Boarder
Posts: 3
|
|
Re:Dynamic pulldown menu from database 10 Months, 1 Week ago
|
Karma: 0
|
|
Well, the problem is with (2) and (3), as you said that there are many samples, I'm gonna look up on your site. Another problem I have, when I try to populate data from the database into a threeview, it repeats every head with each line, any kind of help please I'd really appreciate it. Best regards!
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|