PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Dynamic pulldown menu from database (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Dynamic pulldown menu from database


#2865
veron (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
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.

#2869
kksou (Admin)
Admin
Posts: 1240
graph
User Online Now Click here to see the profile of this user
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.

#2870
veron (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
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.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2009. kksou.com. All Rights Reserved