Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. There's obviously some collation that was missed... post the detailed column info for each table involved.
  2. This doesn't sound like a mysql question....
  3. Agreed... you may want to store them in the DB after all....
  4. There are two different syntaxes, though the latter is more common.
  5. fenway

    update

    How?
  6. Have you tried re-installing?
  7. It's ugly, why do you need to?
  8. So what do you have now? what error do you get when you add back the order by?
  9. It's not solved until you tell us how....
  10. What are the collations for the tables/columns?
  11. Post what you have so far, and I'll show you how to inject this.
  12. Something mysql-specifc?
  13. Yes, well, if you've already authenticated the user, you can spit out UIDs, but they can still change them in the hidden inputs... so as long as this won't result in them editing someone else's record, that's fine... hence the security issue.
  14. I do this sometimes, but not very often... even so, a TIME field is always the best choice vs TIMESTAMP.
  15. We're just looking for some effort on your end to work towards a solution.... select t.id count(p.question_id) from topics as t left join posts as p on p.question_id=t.id group by t.id Will give you the # of posts per topic. If you want to deal with subcategories, you'll need to join them in as I said earlier.
  16. they are your domains, no?
  17. You just need to join in the players table.
  18. You need to add c.x=1 to the ON clause.
  19. Actually, didn't realize it was based on the current time, so it's a bit different: SELECT some, fields FROM mytable WHERE `time` BETWEEN CURDATE()+INTERVAL 9 HOUR AND CURDATE()+INTERVAL 9 HOUR-INTERVAL 1 DAY
  20. What have you tried? Whare you uploading it to?
  21. Agreed... don't reset IDs, unless you blow away all of the data in the table, in which case use TRUNCATE, not DELETE.
  22. Which is why I said you'd have to replicate the directory tree containing the images...
  23. Don't know what you mean about unique rows... if you're only using a single table, a row can never be returned twice.
  24. You can try and use FEDERATED tables.
×
×
  • 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.