Code: Select all
INSERT INTO `newFeature` (`userid`, `data`, ...) VALUES((SELECT `id` FROM `users` WHERE `username` = '$username' AND `password` = '$password'), $data, ...);It's not crucial or anything... I've already got a way around it. I'm just curious.