Hi
lobby is a duplicate table of rooms. In the script there is a main admin section in the admin section the admin can create rooms, roomname,profit,ticket, etc.here is the lobby table.
CREATE TABLE IF NOT EXISTS `lobby` (
`roomID` int(10) NOT NULL default '0',
`time1` varchar(200) NOT NULL default '0',
`ticket` varchar(100) NOT NULL default '10',
`profit` decimal(10,2) NOT NULL default '0.00',
`line1` decimal(10,2) NOT NULL default '0.00',
`line2` decimal(10,2) NOT NULL default '0.00',
`fullhouse` decimal(10,2) NOT NULL default '0.00',
`total` decimal(10,2) NOT NULL default '0.00',
`myprofit` decimal(10,2) NOT NULL default '0.00',
`gametotal` decimal(10,2) NOT NULL default '0.00',
`roomname` varchar(200) NOT NULL default '',
`username` varchar(200) NOT NULL default '',
`players` varchar(250) NOT NULL default '0'
rooms table
CREATE TABLE IF NOT EXISTS `rooms` (
`roomID` int(10) NOT NULL auto_increment,
`time1` varchar(200) NOT NULL default '0',
`ticket` varchar(100) NOT NULL default '10',
`profit` decimal(10,2) NOT NULL default '0.00',
`line1` decimal(10,2) NOT NULL default '0.00',
`line2` decimal(10,2) NOT NULL default '0.00',
`fullhouse` decimal(10,2) NOT NULL default '0.00',
`total` decimal(10,2) NOT NULL default '0.00',
`myprofit` decimal(10,2) NOT NULL default '0.00',
`gametotal` decimal(10,2) NOT NULL default '0.00',
`roomname` varchar(200) NOT NULL default '',
`players` varchar(250) NOT NULL default '0',
PRIMARY KEY (`roomID`),
UNIQUE KEY `roomID` (`roomID`)