Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
$update_stores = mysql_query("UPDATE stores_".$_SESSION['lang']." SET title = '$title', address = '$address', maps = '$maps' WHERE id = $id") or die(mysql_error());
SELECT * from table_name ORDER BY `type` DESC
select * from whereis where author in (select who1 from whois where who2 = "glados") or author in (select who2 from whois where who1 = "glados")
select COUNT(*) from table where date_create > CURRENT_DATE - INTERVAL 4 MONTH AND user_name = 'name'