Hi!
Very weird problem. Saving email addresses to my database, but when I query those emailaddresses it shows up as name@ instead of [email protected]. I suspect some internal filtering going on but have no idea how to solve it.
CREATE TABLE `bredeschool`.`users` (
`userID` smallint(6) NOT NULL AUTO_INCREMENT,
`gebruikersnaam` varchar(10) NOT NULL,
`wachtwoord` varchar(10) NOT NULL,
`type` varchar(20) NOT NULL,
`aanmaakDatum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`wijzigingsDatum` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`userID`),
UNIQUE KEY `userID` (`userID`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
INSERT INTO users (gebruikersnaam, wachtwoord, type, aanmaakdatum, wijzigingsdatum) VALUES ('[email protected]', 'xxxx', 'ouder', '2010-06-25 15:16:40', '2010-06-25 15:16:40');
SELECT * FROM users WHERE gebruikersnaam = '[email protected]';
The last query does not yield a result. Executing without WHERE shows the emailaddress as name@.
Thanx, Chris