Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. It's not worth doing it yourself... you can get cheap hosting packages for <$10 a month... so why bother?
  2. No, not temporary... write the query to get all of the related products that you need to query, and then use that "as" a table for the join.
  3. Sounds like a slow connection...
  4. You might as well run a query to get all the product and "related" product ids, then join onto that derived table.
  5. fenway

    now()

    Look into the UTC versions.
  6. Do you use replication?
  7. Why would you search the whole table to match a single record? Use a WHERE clause.
  8. How can one product have multiple ids?
  9. Use TRUNCATE TABLE if you want to delete everything -- otherwise, leave the auto increment field alone.
  10. Well, I'm not sure why you're using AND... how are these tables related?
  11. WHERE id IN ('3','4','5')
  12. Sounds like missing POST data.
  13. That's not plaintext... that's php.
  14. GROUP BY?
  15. Not really... your variable is nothing.
  16. Sounds like you might actually be on a different box/ip...
  17. Well, you can't stop the upload server-side, since it's asynchronous... but why not just reset the src of hte iframe?
  18. You can't do multiple queries... just build a hash in php and run it in a loop. You could do this in mysql directly with a bunch of case statements, but what's thepoint?
  19. That's the definition of random.
  20. Why not store the date of the last read?
  21. If you're not actually using the innodb features in your application, you can convert to back.
  22. I'd like to see the actual query in plaintext... besides, why are you retrieiving all of the recordset and then just using the number?
  23. I'm not sure part of this is database related ... how you display the image and showing the description is php/html.
  24. What do you mean "is blank"? Like there's no row? Then you need a left join...
  25. Whatever table you're designing, it's wrong.
×
×
  • 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.