I have a query, something like this
$drzava ="CREATE TABLE IF NOT EXISTS`wp_drzava` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Kod` varchar(2) NOT NULL,
`Naziv` varchar(100) NOT NULL,
`NazivSrb` varchar(100) NOT NULL,
`NazivSrbGenetiv` varchar(100) NOT NULL,
`jePrevedeno` tinyint(4) DEFAULT '0',
`jeDrzava` tinyint(1) DEFAULT '1',
`PhoneCode` varchar(10) DEFAULT NULL,
`NazivRo` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=304 DEFAULT CHARSET=utf8;
INSERT INTO wp_drzava VALUES ('249', 'RO', 'Romania', 'Rumunija', 'Rumunije', null, '1', '+40', 'România ')";
Problem seems to be in România record, so I get not record inserted. I try dbDelta()
function and also $wpdb->query()
but I get no result.
Any suggestions