MySQL Head Banger :@ !!!

mardi 5 mai 2015

Hello Follow Nerdlings :D

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 . ' AND comments.date_deleted IS NULL ' .
        '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 :mad:
MySQL Head Banger :@ !!!

0 commentaires:

Enregistrer un commentaire

Labels