Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Well, now I'm really confused -- I only see one LIMIT, and it's a hard-coded constant. Maybe the indentation is messing with my head.
  2. The first problem was that you didn't use CODE tags -- but I've fixed that for you. The second problem is that I don't understand the problem.
  3. Sorry, I don't follow.
  4. No one's going to open a ~800kB word document -- try to summarize you question and post it directly into this thread.
  5. Please echo the actual query.
  6. I'll resist the temptation to argue -- but I agree that the problem is that it's too easy to learn.
  7. The real problem is that PHP is the worst possible language to start with to learn that separation, specifically because it's a glorified template.
  8. Yeah, but never use RIGHT -- you can always re-write it a LEFT join, and that's just the convention.
  9. Let's not even entertain such an idea. The whole purpose of the separation is to force the OP to decide exactly which aspect is causing the problem -- and this also helps people resist the urge to post entire scripts.
  10. No one is going to open your word document -- summarize the relevant portions and post just those properly in this thread.
  11. Which table do you want to delete from?
  12. You mean like a "join"?
  13. Then before you order by distance, you need to "collapse" the city/state pairs -- and decide which distance to user.
  14. Why?
  15. Maybe your timeout is set too high?
  16. Sorry, I don't follow.
  17. select * from `databases` inner join `categories` on `databases`.`id`= `categories`.`id_database`
  18. Well, the last warning is "real" -- and should be addressed -- you have old client libraries.
  19. I don't see a query anywhere.
  20. Sorry, I don't understand the question. You can store text in the database, and lay it out on the page with php however you'd like.
  21. That isn't a valid query -- but the UNION approach should work.
  22. Interesting approach -- but that assumes that there are that number of records before/after.
  23. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=288109.0
  24. What do you have now? What do you want to be different?
  25. Basic SQL doesn't provide for this -- but a DB wrapper should easily be able to.
×
×
  • 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.