Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Have a look at the coding standards of any decent open source php project. They all say to use spaces instead of tabs for the same reasons I stated in my first reply.
  2. Sorry but that response makes little sense. If you want the value of a php variable to be outputted to your page you must echo it. Hence: $("#<?php echo $filename; ?>").organicTabs(); Would output: $("#profile").organicTabs(); If your php variable $filename contained the string "profile".
  3. trq

    Is it there?

    $A = '\public_html\test\BOB';
  4. trq

    Confused

    If you indent your code so it is readable you might find the error. Or you might at least attract help. Personally, if I see code formatted like that, I usually just hit the back button.
  5. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=350146.0
  6. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=350148.0
  7. Then I don't understand why you asked the question.
  8. Yeah, I have already toyed with a similar idea (see the botton of the blog post). The only problem is, it becomes difficult to tell if the array you have set for the 'bar' option defines default values 9as you posted) or is actually the default value for 'bar' itself. I am going to stick with going down the Option object path, even though it does meen an extra dependency.
  9. $("#<?php echo $filename; ?>").organicTabs();
  10. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=350049.0
  11. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=350095.0
  12. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=349974.0
  13. onfocus has nothing to do with displaying text in an input. With that in mind, your post doesn't make allot of sense. As for posting code, use tags as you have done.
  14. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=349992.0
  15. You would need to do this client side using JavaScript.
  16. If your "function" script only contains function definitions it wouldn't matter.
  17. I don't understand how it could be too powerful to use just for profiling, it is a profiler. It has the potential to be useful and I agree with gizmola that "No one solution works for all people"
  18. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=349934.0
  19. There is no need to compile php from source in Linux distributions and each extension is simply another package. For example, in Debian you would simply execute something like: apt-get install xdebug
  20. From what I have gathered from your brief description it sounds like it would create allot of overhead. What is wrong with XDebug?
  21. Yes. The rest of the code just registers keys within the session. session_register has been deprecated for some time though so that code is pretty old. There is no need fo rit anymore.
  22. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=349834.0
  23. Firstly, it's procedural, not sequential. If you already know OOP you should understand the benefits. Something that simple will not likely benefit a great deal from using OOP.
×
×
  • 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.