HTML interesse |
|
Beste leden,
Weet iemand ook wat er met deze fout bedoeld wordt?
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /sites/pistols.nl/www/roulette.php on line 438
regel 438,439
-------------
$zbres = mysql_query("SELECT `casino` WHERE `login`='{$casino->owner}'");
$edata = mysql_fetch_object($zbres);
$zbres = mysql_query("SELECT `casino` WHERE `login`='{$casino->owner}'");
MySQL tabel casino:
-------------------
CREATE TABLE `casino` (
`id` int(255) NOT NULL auto_increment,
`spel` int(1) default NULL,
`land` varchar(255) default NULL,
`owner` varchar(255) NOT NULL default '',
`verkoop` int(1) default '0',
`inzet` int(255) default '100000',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=28 ;
CREATE TABLE `casino` ( `id` int(255) NOT NULL auto_increment, `spel` int(1) default NULL, `land` varchar(255) default NULL, `owner` varchar(255) NOT NULL default '', `verkoop` int(1) default '0', `inzet` int(255) default '100000', ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=28 ;
|