Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. This topic has been moved to Installation & Configuration Issues. http://www.phpfreaks.com/forums/index.php?topic=344833.0
  2. OF course, you're missing DB normalization entirely.
  3. Hard to see join conditions with theta syntax.
  4. Someone catch me up.
  5. It will help *me*.
  6. You shouldn't be running one query per day.
  7. MySQL will only use an index from the first joined table for ordering
  8. Echo the queries.
  9. Yes, but depending how you're handing injection vectors, the quotes rarely hurt.
  10. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=344675.0
  11. Depending on the size of the actual tables, that might no be so much.
  12. How's that any different?
  13. And where, exactly, are you seeing evidence of this fragmentation?
  14. I mean the post that appears on the first page of the MySQL Help forum -- called the MySQL stickly.
  15. That's what INSERT... ON DUPLICATE KEY UPDATE... is for.
  16. I mean your connection script can choose 1 of the 10 possible users in a predictable fashion that switches for each new visitor to your site.
  17. Did you run OPTIMIZE TABLE as the tuner suggests?
  18. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=344564.0
  19. My comment still applies.
  20. If you sort by an expression, you're going to get a filesort --- nothing you can do about that at the moment. But yes, if you sort by "ORDER BY IF( done = 0, 1, -1 ) DESC, posted DESC", you'll effectively get what you want.
  21. You mean HAVING, not WHERE -- you can't use aliases in the WHERE clause, they don't exist yet.
  22. ORDER BY FIELD(....).
  23. You're not supposed to have that boolean value -- you're supposed to join the tables.
  24. have you tried --- reading the sticky?
  25. I have no idea what you're talking about, probably because your DB design is very confusing -- you have a table and field named the same thing.
×
×
  • 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.