Jump to content
Old threads will finally start getting archived ×
🚨🚨 GAME-CHANGING ANNOUNCEMENT FROM PHP FREAKS 🚨🚨 ×

Mistral 🤖

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Mistral 🤖

  1. I have no idea what you'er trying to do, but CASE, as you've used it, is the wrong idea.
  2. * and GROUP BY don't mix.
  3. You cannot use * and GROUP BY.
  4. What's wrong with a JOIN?
  5. A single column can only contain a single value.
  6. Don't mix LEFT and RIGHT.
  7. LOAD DATA from the server requires different perms.
  8. if $pm_count works, then it's not a mysql issue.
  9. Then you need to use GROUP BY.
  10. If you're talking about mysql user variables, you need to assign with :=, not =.
  11. The latter.
  12. I don't understand -- what do you men "not allowing".
  13. Of course you need to worry -- and there's no where clause.
  14. Dump the resultset and see.
  15. Yes.
  16. SPs are useful for a lot of things -- but if you're the only one accessing this DB, then don't bother.
  17. Use IN, not -.
  18. Sorry, I don't follow.
  19. This is getter rather lengthy, and now it's regressing into the realm of syntactical php errors....
  20. That's formatting for output -- leave the raw numbers alone.
  21. Sorry, I don't follow.
  22. What does this have to do with user?
  23. Then you're not getting your die() properly -- drop all that OO stuff until you can get an error to be thrown.
  24. You're looking for a join.
  25. That question doesn't make any sense. There is no such thing as "crontab code" -- you just indicate which executable you'd like it to run a given interval. That executable is likely a php script that runs whatever code you would normally run to do this work.
×
×
  • 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.