Fehler Meldung aus dem Webbrowser: Parse error: syntax error, unexpected '(' in [/size]/users/throfix/www/mysql.php on line [/size]14
<?php
// Mysql settings $user = ""; $password = ""; $database = ""; $host = ""; mysql_connect($host,$user,$password); mysql_select_db($database) or die ("Unable to select database"); `battles` ( `battle_id` bigint(20) unsigned NOT NULL auto_increment, `winner` bigint(20) unsigned NOT NULL, `loser` bigint(20) unsigned NOT NULL, PRIMARY KEY (`battle_id`), KEY `winner` (`winner`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; `images` ( `image_id` bigint(20) unsigned NOT NULL auto_increment, `filename` varchar(255) NOT NULL, `score` int(10) unsigned NOT NULL default '1500', `wins` int(10) unsigned NOT NULL default '0', `losses` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`image_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; `images` ( `Image_id` bigint (20) unsigned NOT NULL AUTO_INCREMENT, `Filename` varchar (255) NOT NULL, `Score` int (10) unsigned NOT NULL default '1500', `Wins` int (10) unsigned NOT NULL default '0', `Losses` int (10) unsigned NOT NULL default '0', PRIMARY KEY (`image_id`) ) ENGINE = MyISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT = 1; 1. ?>