Guys is anyone can help with this query, this is a first time that i have a problem like this without any error.
I am using Heidisql to test stuff.
Here is a query that works and displaying data
SELECT b.status, b.symbol, b.order_type, b.price_open, b.time_open, b.size, b.plpips, c.bid
FROM www_users a
INNER JOIN trade_log b ON b.uid = a.id
INNER JOIN currency_rates c ON c.uid = a.id
WHERE b.uid = '23' AND b.status = 'Open'
and now if i add extra condition after 'Open'
AND b.order_type = '1' AND b.order_type = '0' then i don't have data anymore, but if i try to add only one condition, then i get results.
Here is 4 images to see what this is about
1st image without adding extra conditions for sorting out order_type
2nd image with one extra condition for sorting out order_type 1
3rd image with one extra condition for sorting out order_type 0
4th image with two extra conditions for sorting your out results 1 and 0 from order_type
SOLVED, i forgot about
WHERE b.uid = '23' AND b.status = 'Open' AND b.order_type BETWEEN '0' AND '1'