Announcement

Collapse
No announcement yet.

HELP! MySQL problem, Chris, or...anybody do SQL?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HELP! MySQL problem, Chris, or...anybody do SQL?

    After troubleshooting my php code and finding nothing wrong, I went back to the SQL, and it is failing the simplest query. This used to work...what am I doing wrong?

    mysql> select handle from stats;
    +------------------+
    | handle |
    +------------------+
    | 'Jimmy Swaggart' |
    +------------------+
    1 row in set (0.00 sec)

    mysql> select password from stats;
    +----------+
    | password |
    +----------+
    | 'sinner' |
    +----------+
    1 row in set (0.00 sec)

    mysql> select handle from stats where password='sinner';
    Empty set (0.00 sec)

    WTF??? Shouldn't this return 'Jimmy Swaggart'?

    -d

  • #2

    Comment

    Working...
    X