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 Application Design. http://www.phpfreaks.com/forums/index.php?topic=307893.0
  2. ORDER BY is optimized with LIMIT.
  3. Please post actual queries.
  4. Have you confirmed your math and logic is sound?
  5. Not even remotely true -- that's VARCHAR you're talking about, as of mysql 5_.
  6. Define "not correctly".
  7. what do you mean, can you elaborate? No need for a PM. I meant just a generic EAV table.
  8. Did you try?
  9. Not to me, sorry -- maybe to someone else.
  10. Always echo the actual query.
  11. Well, if you're happy placing some reasonable restrictions, then it's easy -- thought not efficient. Just define a table with a slew of different data types, and then store the heading elsewhere.
  12. Sorry, why can't you store these data as-is?
  13. Say what?
  14. Why not just add another where condition to your query?
  15. I suppose you can do this inline with a subquery
  16. Since there's no update command, when you "removes", I assume you mean your php code -- in which case, you're in the wrong board.
  17. Let's see the new create command.
  18. And in general, never use BIGINT.
  19. If you're in double-quotes, maybe you're getting interpolation of some sort.
  20. fenway

    Search System

    Then you have a php error.
  21. The more you separate the tables, the more flexible your design.
  22. No reason you can't do this math in mysql -- but don't necessarily store it -- and you'll need to use the result of aggregate functions in a HAVING.
  23. Let's see the EXPLAIN output -- see my sig.
  24. Then blame the query, not the table.
  25. Sorry, I don't follow -- if you have SQL statements, just issue them one a at a time.
×
×
  • 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.