BlueIshDan
☠
- Local time
- Today, 18:30
- Joined
- May 15, 2014
- Messages
- 1,122
Hello Follow Nerdlings
I'm about to bash my head :banghead: off of every surface in sight if I don't figure out what I'm missing...
This query:
Is still returning records with date_deleted fields that have values in them... WHY!? NO ERRORS AND CORRECT SYNTAX!!!
I'm going to cry here soon lol... the little things in life they say
I'm about to bash my head :banghead: off of every surface in sight if I don't figure out what I'm missing...
This query:
Code:
$query = 'SELECT comments.id, comments.comment, users.first_name, users.last_name ' .
'FROM comments left join users on users.id = comments.user_id ' .
'WHERE comments.post_id = ' . $post_id . ' [COLOR="Red"]AND comments.date_deleted IS NULL[/COLOR] ' .
'ORDER BY comments.post_id DESC';
Is still returning records with date_deleted fields that have values in them... WHY!? NO ERRORS AND CORRECT SYNTAX!!!
I'm going to cry here soon lol... the little things in life they say