Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. You can't use GROUP BY and get back multiple columns.
  2. Wait a sec... won't score always be equal to minutes_online_month in your example above?
  3. Hard to see without table prefixes... but you'll need to add a condition of OR absence.person_id IS NULL".
  4. Don't mark it "solved" unless you've posted the solution for the beneift of others.
  5. Very true... and please limit your code snippets to only the error-causing portion
  6. I don't see why you need to use table1 at all.
  7. You can use GROUP BY as required in your mysql query, but that really depends on how you're dealing with the downstream output.
  8. Feel free to push onto an array if you so choose.
  9. Are you talking about writing the INSERT statment?
  10. Besides, there's a sticky that has a similar resource as well.
  11. I've just tried this and it doesn't seem to work. Is there any way to put a ' in a variable or in a mysql table field? Then you didn't do it correctly.
  12. I have no idea what you're getting at.
  13. Use LEFT( yourField, 50).
  14. Huh?
  15. Most client API will return affected rows.
  16. Your "solution" has nothing to do with the record problem.... you simply called fetch() before you started your loop.
  17. Every field has a collation... shouldn't make any difference on a numeric UID field.
  18. Tables can't "need" commit... transactions exist on the statement level.
  19. Huh? Is the problem with the query or the script?
  20. fenway

    php error

    You have not provided any additional information... you don't have access to this command, as per your host's configuration.
  21. What's the problem...?
  22. Switch to HAVING, not WHERE.
  23. You could simply update a recent activities table, I suppose.
  24. Don't model anything facebook does for your site, or vice versa. It doesn't apply.
  25. Isn't this continued for another topic??? And I have no idea what you mean.
×
×
  • 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.