select error SELECT `souhlas` FROM `zakaznici` WHERE `id`=2246 and `idprojektu`=20