mySQL query not returning correct results!

Posted by Pete Herbert Penito on Stack Overflow See other posts from Stack Overflow or by Pete Herbert Penito
Published on 2010-03-19T23:30:11Z Indexed on 2010/03/19 23:31 UTC
Read the original article Hit count: 191

Filed under:
|
|
|

Hi! This query that I have is returning therapists whose 'therapistTable.activated' is equal to false as well as those set to true! so it's basically selecting all of the db, any advice would be appreciated!

`           $query = "SELECT
                 therapistTable.*
                 FROM
                 therapistTable
                 WHERE
                 therapistTable.activated = 'true'
                 ORDER BY 
                 therapistTable.distance
                 ";              
`

© Stack Overflow or respective owner

Related posts about mysql

Related posts about query