Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. fenway

    query

    blockUser.blockID will never be NULL, if the user isn't blocked they won't be on the list. Then you don't understand what a LEFT JOIN does.
  2. Your "cell" shouldn't have a number of features.
  3. Is "skip-networking" on?
  4. I mean that "McMahon" is supposed to be sorted before "Mackenzie".
  5. If someone other than you selected the credentials, then that someone is the only one who can help you.
  6. So why not test it on a live site?
  7. Assuming you've stored them separately, of course. Also, alphabetical sorting isn't technically correct when it comes to last names.
  8. So, b.*?
  9. It's happening because of the space between COUNT and (*).
  10. And what did your "website provider" say?
  11. Then you're updating the wrong database, or you're not telling us the whole story.
  12. See here.
  13. I'll second that substring_index() is the way to go.
  14. Multi-byte characters vs single-code.
  15. Also, we're now down to a pure php logic issue, not MySQL.
  16. What's a Criterium? You mean criterion?
  17. Why does it matter? Either you have unicode characters or you don't.
  18. There's no such thing as a multi-table insert.
  19. Then you'll need a join -- and if it's many-to-many, you'll need a subquery.
  20. fenway

    query

    You're missing WHERE blockUser.blockID IS NULL.
  21. That sounds like a plan doomed to fail.
  22. fenway

    query

    LEFT JOIN blockUser ON ( user.userID = blockUser.blockUserID AND blockUser.blockID != $clientID )
  23. Basically, you self-join the table, and find the rows that don't have any greater matching value for CID,
  24. You can order by as many expressions as you'd like.
  25. Why do you care?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.