Jump to content

My column doesn't work?


Fedor

Recommended Posts

I don't know why, I hope you can help me.

 

CREATE TABLE IF NOT EXISTS `userdata` (

  `Name` text NOT NULL,
  `Inventory` text NOT NULL,
  `Phonenumber` text NOT NULL,
  `Geld` int(30) NOT NULL DEFAULT '250',
  `Bankgeld` int(50) NOT NULL DEFAULT '500',
  `Fraktion` double NOT NULL DEFAULT '0',
  `Rank` double NOT NULL DEFAULT '0',
  `Spawnkoords` varchar(50) NOT NULL DEFAULT '0|0|1338.2893066406|-1773.7534179688|13.552166938782|0',
  `Skin` varchar(50) NOT NULL DEFAULT '137',
  `Geschlecht` text NOT NULL,
  `Jailzeit` double NOT NULL DEFAULT '0',
  `Wanteds` varchar(50) NOT NULL DEFAULT '0',
  `ActiveQuests` text NOT NULL,
  `FinishedQuests` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

 

 

MySQL Error:

INSERT INTO userdata (`Name`, `Inventory`, `Phonenumber`, `Geld`, `Bankgeld`, `Fraktion`, `Rank`, `Spawnkoords`, `Skin`, `Geschlecht`, `Jailtime`, `Wanteds`, `ActiveQuests`, `FinishedQuests`) VALUES
('', (SELECT MAX(ID) FROM `Inventory`), '', '250', '500', '0', '0', '0|0|1338.2893066406|-1773.7534179688|13.552166938782|0', '137', '', '0', '0', '[ [ ] ]', '[ [ ] ]');

 

MySQL reported: dot.gif

#1054 - Unknown column 'Spawnkoords' in 'field list' 

Link to comment
https://forums.phpfreaks.com/topic/297429-my-column-doesnt-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.