Hi, I have the following query:
$sql = "SELECT SUM(quantita - scarico) as giacenza FROM magazzino WHERE idArticolo = $idArticolo";
$statement = $this->_db->query($sql); $row = $statement->fetch(); Finally, i get $row['giacenza']On my database's client the result of the query is right but fetching the result from my application it returns always 0.00
Why? -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
