Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. If you're not familiar with the I_S database, you should read the 5.1 manual... it's pretty fundamental to the way the server is run.
  2. Don't double-post next time -- continue in the same thread; consider this a warning. I can't possibly imagine that PHP doesn't have a module for this; but how to escape it depends on what program is being used to read it. Usually, it's just adding quotes.
  3. CSV is a very tricky format -- you need to escape any fields that contain the separator.
  4. Echo out the sql statements and you'll see what's being actually deleted.
  5. Since we don't see line numbers, and that's purely a php error, it's hard to say.
  6. Use code tags next time. All you need to use is check each of the 3 fields, combined with ORs, if the user has provided any input.
  7. That error is from some non-mysql, php wrapper.
  8. fenway

    Row to expire

    Though 5.1 does have an event scheduler.
  9. Solved how? You've started a lot of threads on what seem to be related queries.
  10. I assume you solved this with a GROUP BY?
  11. That's a bug in phpmyadmin, or your gzip isn't installed properly.
  12. That's because you're using a signed smallint as you're primary key -- big mistake. Try INT UNSIGNED instead.
  13. And why not a LEFT JOIN... iS NULL?
  14. Huh?
  15. You'll need to join it back after you determine the max.
  16. That's not plain mysql -- I have no idea what those are.
  17. Huh? I don't see any searching.
  18. Sorry, did I not post the revised query?
  19. What does the cnf file say?
  20. MySQL can't help you there -- you'll have to write a stored procedure or do this in application code.
  21. Sorry, what are you trying to do? seems lke too many queries.
  22. Well, if your pages take a long time to load, and the max_connections is set really low, it's possible.
  23. Fields only have one value.
×
×
  • 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.