Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=349563.0
  2. Google for "php bbcode" examples.
  3. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=349561.0
  4. Cool. Do you have a question?
  5. SELECT article FROM articles ORDER BY somecolumn DESC LIMIT 5;
  6. Where is *your* code?
  7. So what is the issue?
  8. Then I don't understand the problem.
  9. Then post some relevant code.
  10. Don't use SELECT *, be specific about that data that you want.
  11. There are numerous things design wise that are wrong with this class. Firstly, it is tightly coupled with the mysql extension. Instead, you should be passing a database object (implementing an interface that this class recognises) into this object. Secondly, there are several places in the class that output error messages within this class. Classes should not output anything (unless that is what they are designed to do) but instead throw exceptions or have methods simply return false. Other than that, it's a pretty good start. I would however recommend using the more common php5 syntax instead of the php4 syntax.
  12. http://www.phpfreaks.com/tutorial/data-joins-unions
  13. trq

    What is RSS?

    http://en.wikipedia.org/wiki/Rss
  14. I'm a massive vim fan so don't really have much of an opinion when it comes to IDE's.
  15. That's because MS sux balls.
  16. Hmmm, I smell spam.
  17. There is no definitive answer, just opinion. Often the one that is well suited to your style of development and specific project requirements will be the best one to use.
  18. I used to use dynamically loading js, but it ended up being allot more efficient to put all js into one file and the minify it. Its the actual http requests to multiple files that hurts more than size. Of course it would also depend on what sizes where talking about. Loading a 50k-80k file just to use one function etc etc.
  19. Have you checked out some of the editors mentioned in this thread?
  20. This board is here for questions directly relating to already existing Third Party code. It is NOT a code repository or the place to post requests looking for specific scripts. If you can't find the script you are looking for on Google, you either don't know how to use Google or the specific script does not exist. DO NOT request help with searching.
  21. I'm not sure how that would be achieved through php. The rule is that you use a before words that start with a consonant sound and an before words that start with a vowel sound.
  22. You'll need to be more descriptive. Your example makes little sense to me.
  23. Netbeans 6.8 does seem even better than 6.7. Many improvement + it does seem more responsive.
  24. Iv'e not noticed any performance lag with Netbeans excepting maybe when it initially scanning my projects. Even then, I think its only because the drives my projects are hosted on are remote (LAN).
  25. Iv'e been using vim for years though have been loving Netbeans since I programming work full time.
×
×
  • 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.