Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Why the cryptic column names?
  2. You shouldn't be modifying the users table yourself anyway -- there's a CREATE USER command now.
  3. update t1 inner join t2 on ( t1.apn=t2.apn ) set t1.match = 1 where (....)
  4. Well, you don't know how to "build tables" -- so someone should tell you before you break something. I really hope you're not being paid for this work, since you're about to screw over your client. What you consider 'solved' everyone else in the world considers "broken". And don't tell me how to help -- I can't tell you how to listen.
  5. Maybe *in* the column list.
  6. Then something in your php script isn't set correctly.
  7. That means you're not properly entering UTF-8 characters.
  8. That's great -- but next time, use code tags.
  9. You simply need to strip both values when you compare them.
  10. Sorry -- you mean you need to add the price for each day of a given period, once per day?
  11. That requires one row per month, not one column per month. What if you even wanted to store 2 prices per month?
  12. On a 32-bit system, 4GB -- otherwise, no. But that's billions of rows.
  13. You have a column called "Jan"? Seriosuly?
  14. select count( distinct column ) from databasename
  15. Because that means I need to parse your entire script to help -- and from what I can gather, it's not specifically a mysql question.
  16. That's a php error from a DB class -- no idea.
  17. Well, the entire script was a bad idea, too.
  18. Just a second -- I'm confused why you want to do this in the DB?
  19. Show me what sample output you're looking for.
  20. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=332949.0
  21. Aggregating a SUM usually requires a derived table.
  22. Posting the entire script, with login credentials -- probably a bad idea.
  23. Right -- you need to iterate through the result set.
  24. Yes, and it always has "drop 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.