Hello, i got this error when i execute 2 sql query, one next the other.. i am using tablegateway. So when i execute each one individualy it works! but not together
$noticias = $this->adapter->query("SELECT * FROM noticias WHERE status = 1");
$datos = $noticias->execute();
i have that code in a model, so i execute the same with another table and i got this errors.
Statement couldn't be produced with sql: SELECT * FROM noticias WHERE status = 1
Commands out of sync; you can't run this command now
anybody knows why?
For programming and general questions on Zend Framework
1 post • Page 1 of 1