jeudi 5 février 2015

PHP MySQL: boolean Value works on local server but returns empty on live server?

I have a boolean ( bit ) value stored in my database. The problem is when I run the PHP script on local server I get the value either 0 or 1 depending upon the value stored in Database against the id using mySQL query. However the same script on live server returns absolutely nothing neither 0 nor 1. My variable remains empty. Any possible explanation.





Aucun commentaire:

Enregistrer un commentaire