Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. If you properly quote all of your strings from user input, you won't need to "test" it.
  2. You can use: WHERE EXTRACT( YEAR_MONTH FROM_UNIXTIME( yourTSColumn) ) = '200812'
  3. NO NO NO NO NO! This will not work at all -- you cannot rely on any value retrieved from a group by other than aggregate functions or the grouped column(s). Please post your table structure.
  4. This is obviously not related to the mysql query... please confirm if this solved the issue, or I'll move it to the appropriate forum.
  5. what do you mean "might not exist".... the tables or the matching values?
  6. no way to figure out what the "original" one was... but how could that be relevant?
  7. Check mysql_error() to find out exactly what's wrong.
  8. Then at least post a link back to the old thread for continuity... besides, what was the final solution?
  9. Not sure how you mean... you mean dump a list?
  10. I was actually looking for the representative code/query...
  11. Then please post is here, otherwise this entire thread is just very confusing.
  12. Double-post.. you've been warned.
  13. Where's the include? And this is straying very far from mysql
  14. NO! Never post ALL of the code... we never need to see it all.
  15. Next time, please refrain from posting the ENTIRE code when 5 lines will suffice. And PLEASE echo the query.
  16. Yes/no fields are not going to use an index anyway.
  17. You didn't close the single quote for the email field.
  18. That shouldn't be an issue... simply the query, make sure it works with a single one.
  19. Huh?
  20. As I suggested in your duplicate thread, derived tables.
  21. Sphinx?
  22. TLDR.. but you should be able to use derived tables. TOPIC LOCKED... duplicate thread. Don't do that again, please.
  23. Yikes... you just gave 35 ppl all your login credentials... I suggest you switch them ASAP!!!!! But regardless... this isn't anything of the ordinary unless it happens repeatedly.
  24. What does that 2nd query accomplish? And you have two ON clauses back-to-back.
×
×
  • 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.