Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. echo your query so you can see what is actually happening.
  2. You can set a file to load from within your php.ini (see the auto_prepend_file directive) , but this will then load on *all* requests. Whats wrong with using require ?
  3. That would be your opinion. PHPFreaks is not to be used as advertising space for your personal projects. It really is that simple.
  4. $str = ucfirst(strtolower($str));
  5. And banned so quickly? Here's why: http://thorpesystems.com/2012/09/ungrateful-abusive-users.
  6. Awesome job Philip and everyone else who was involved, looks great.
  7. Don't bother asking for help without posting relevant code.
  8. We (of course) cannot help without seeing some relevant code.
  9. Why have you got a selector within the argument to load() ?
  10. This topic has been moved to mod_rewrite. http://forums.phpfreaks.com/index.php?topic=365389.0
  11. This is pretty much "dynamic web pages 101". Where exactly are you stuck?
  12. This topic has been moved to Third Party PHP Scripts. http://forums.phpfreaks.com/index.php?topic=365356.0
  13. This topic has been moved to Application Frameworks. http://forums.phpfreaks.com/index.php?topic=365352.0
  14. This topic has been moved to Other Libraries and Frameworks. http://forums.phpfreaks.com/index.php?topic=365344.0
  15. It means the property $task is not defined within the object stdClass. You are trying to access that non-existent property on line 64 Without posting code, that is all the help we can provide.
  16. This topic has been moved to Third Party PHP Scripts. http://forums.phpfreaks.com/index.php?topic=365338.0
  17. I am yet to find that need and would avoid doing so at pretty much any cost given the choice.
  18. Have you tried reading there documentation?
  19. This topic has been moved to MySQL Help. http://forums.phpfreaks.com/index.php?topic=365296.0
  20. A folder is just a Windows users term for directory. They are the same thing.
  21. If that is aimed at me, you should read my reply again. I didn't say anything about references except that the change you have recently stumbled upon has been deprecated for a long time. I merely suggested you rewrite your code in a way that doesn't break encapsulation. I still stand by that. Functions that alter variables within the global namespace tend to lead to very flaky applications.
  22. Passing by reference has been deprecated since 5.3, that is over 3 years ago, it's not like this has snuck up on anyone. I suggest writting your code in a way that doesn't break the encapsulation that functions provide. function some_func($var) { return $var++; } $var = 1; $var = some_func($var); // var is now 2
  23. There is likely a better way. What exactly are you doing?
  24. This topic has been moved to MySQL Help. http://forums.phpfreaks.com/index.php?topic=365270.0
×
×
  • 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.