Просмотр поста

.
MobiLike

ViROSS,

ALTER TABLE tosto
ADD CONSTRAINT tosto UNIQUE (number,time_real,tirazh,komm,mail);


if ($q==0 && $w==0 && $e==0 && $r==0 && $t==1) {
 
mysql_query("INSERT IGNORE INTO `tosto` SET
                `number` = '" . $pi[0] . "',
                `time_real` = '" . time() . "',
                `tirazh` = '" . $tz0 . "',
                `komm` = '3.65',
                `mail` = '1'
            ");
}


Подробнее: https://www.w3schools.com/sql/ ... e.asp

ну или https://www.google.ru/search?q ... union