Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. sql statements are simply php strings. $sql = "SELECT * FROM foo"; You can print a string.... echo $sql;
  2. In order to do that we would need to see your rules that don't work plus an explanation of the problem you are having.
  3. navigator.geolocation is not supported by chrome.
  4. This topic has been moved to Linux. http://www.phpfreaks.com/forums/index.php?topic=318582.0
  5. trq

    Flash

    There is no flash on that page.
  6. @Anti-Moronic: Your no hobbyist? Yet are calling $1000 projects medium? It's rare I will take on a freelance job for less than $10000. That being said, these projects aren't done in procedural (not much I do is but that is beside the point). The point I'm trying to make is that allot of people are simply blinded by the OOP paradigm and assume it is now the only way. You think your a good programmer because you use OOP? The other point here is that the OP asking the question obviously has limited experience. For him/her at this point in time procedural is obviously the better option because that is going to get shit done. @HardCoreMore: I'm not sure where assembly came into the argument. Are you proving your own ignorance?
  7. I don't believe anyone ever said it was better. I'm not sure your in a position to hazard guesses at what languages people here have and haven't used. So... what about the Linux kernel? One of (if not the single biggest) open source projects around.
  8. ignace understands OOP concepts allot better than most people around here. All he is saying is it is not the only valid option and in fact, sometimes it's not required. If you think otherwise it is likely you yourself don't understand the concepts well enough to keep your eyes open to other solutions. This happens to allot of people once they have a decent grasp of OOP. They consider that it MUST from now on be used for everything. This is not the case at all.
  9. Sounds to me like you need a GROUP BY clause in your query.
  10. Better still. How about explaining your problem?
  11. No. Why would you insert the email address then check for its existence? (not that your doing that properly either, see mysql_num_rows)
  12. You need to execute a SELECT query first to determine whether or not the email already exists.
  13. Of course, CI can be (and normally is) used as part of TDD.
  14. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=318466.0
  15. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=318486.0
  16. So execute that code in a while loop which loops through all the records that match your query.
  17. Your database design is worse than your code. Sheesh.
  18. Just set the query string append flag on your rewrite rule. Rewrite On RewriteRule ^(.*)/(.*)\.php$ controller.php?folder=$1&page=$2 [QSA]
  19. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=318465.0
  20. You need to pay for these types of services.
×
×
  • 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.