Dynamic Dialogs & Actions
#1

This is a fairly complex question but i cannot even begin to guess how to do it.

I want to make a dialog that shows on command that lists all the users in my database. When i click on the user it shows another dialog with all the stats.

Basically i need a dialog that is dynamic and a way to process which user i chose in the dialog. If i can get that i can do the rest.

User Database Layout

Код HTML:
CREATE TABLE IF NOT EXISTS `users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(32) NOT NULL,
  `password` varchar(32) NOT NULL,
  `money` int(11) NOT NULL DEFAULT '0',
  `score` int(11) NOT NULL DEFAULT '0',
  `stafflevel` int(11) NOT NULL DEFAULT '0',
  `donor` tinyint(1) NOT NULL DEFAULT '0',
  `handle` varchar(20) NOT NULL DEFAULT 'Newbie',
  `slots` int(11) NOT NULL DEFAULT '0',
  `ownedvehicles` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
Reply


Messages In This Thread
Dynamic Dialogs & Actions - by Rokzlive - 18.06.2013, 04:41
Re: Dynamic Dialogs & Actions - by MP2 - 18.06.2013, 04:47
Re: Dynamic Dialogs & Actions - by Rokzlive - 18.06.2013, 04:52
Re: Dynamic Dialogs & Actions - by TheStreetsRP - 18.06.2013, 14:48

Forum Jump:


Users browsing this thread: 3 Guest(s)