There are 2 tables: the platform table with the user_id, id_platform and the setting table with the user_id(связь с таблицей platform), sound, animation, private fields user_id(связь с таблицей platform), sound, animation, private .
I get the data "id_platform" (there may be several) through GET. How can I make a request to select all private fields from the transferred users? Made such a request:
$insert ="SELECT `user_id`,`private` FROM `platform`,`setting` WHERE `platform`.`id_platform` IN (".$list.") AND `setting`.`user_id`"; Tell me, please, how to?
and platform.user_id=setting.user_id- Mike=platform.user_idwould not hurt at all on some sql-ex.ru and at least a little to understand sql, basic knowledge is acquired in a day - Mike