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 Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=316412.0
  2. You understand that a html page can only have 1 set of <head></head> tags?
  3. Is this all in one file? A forms action should point to the file that is going to do the processing. [ot] $PHP_SELF has long been depricated and should no longer be used. If you want your form to post bake to itself, just leave the action blank. eg; ection="" Do not use <? short tags. Use <?php always. [/ot]
  4. Then it is not being included.
  5. This topic has been moved to Other. http://www.phpfreaks.com/forums/index.php?topic=316401.0
  6. innerFade() is not a jQuery built in. I suggest you read the documentation provided with the plugin.
  7. MVC is a design pattern, are you asking about what framework you should use?
  8. PHP needs to be processed by the web server (Apache in your case). Accessing the file directly does not do this, a url on the other hand is process and served up by Apache.
  9. Not at all. mysql_connect is a function (commands are what you execute at prompt to tell a computer what to do) belonging to the mysql extension. mysqli is another (newer) improved mysql extension which offers both a procedural and object oriented interface. PDO is different in that it offers an object oriented interface to a variety of database drivers (including MySql). I have seen some of your code and would not call it OOP. You use classes and objects yes, but are not designing around OOP design patterns. Having said that, if its OOP you want to get into (and even if its not), PDO is probably a good option. While it doesn't (by itself) provide a complete abstraction from different database implimentations, it can get you a good part of the way there.
  10. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=316303.0
  11. As the article is updated (you actually create a copy) store a date (or version) number.
  12. This topic has been moved to PHP Installation & Configuration. http://www.phpfreaks.com/forums/index.php?topic=316299.0
  13. Are you accessing the file via a url like http://localhost/file.php ?
  14. This topic has been moved to CSS Help. http://www.phpfreaks.com/forums/index.php?topic=316294.0
  15. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=316282.0
  16. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=316288.0
  17. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=316286.0
  18. So your not willing to take the advice of people who know what they are doing? Do you understand the consequences of creating variables dynamically? Obviously not. Have fun debugging.
  19. Well, you don't want mysterious variables showing up in your scripts. It will make debugging very difficult. Its bad enough you have this $config array kicking around, but at least you'll be able to find where that comes from. A better method might be to create a registry object, but unless you know a bit of OOP, I'm not even going to go there.
  20. Actually, you have the title on the a attribute don't you? Not the td? Within that piece of code 'this' refers to the td element, After all, that was what was clicked. I really think you should take some time out to learn some jQuery basics. We can't really be expected to walk you through every detail.
×
×
  • 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.