Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You don't As per usual w3schools have published a terrible example of PHP. Javascript adds elements directly to the DOM. You won't see it in a normal "view source". Use a more robust tool like Firebug or Chrome's dev tools.
  2. No, but it's not a good way of organising CSS. You can, but it's not usually needed.
  3. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=352409.0
  4. Learning another language just to learn about classes is ridiculous. There is nothing particularly odd about PHP's OOP implementation.
  5. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=352357.0
  6. This topic has been moved to Beta Test Your Stuff!. http://www.phpfreaks.com/forums/index.php?topic=352359.0
  7. It helps if you let people know what application your using.
  8. trq

    MOVED: SFax

    This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=352376.0
  9. onChange is indeed correct. Have you tried to write any code?
  10. I think the manual entry is pretty good.
  11. Yes. $('yourselect').change(function(e) { // do something });
  12. Your probably better off using parse_url and basename.
  13. That would imply that $xml_str is not valid xml.
  14. Are you sure it is that line that is throwing the error? What are you doing with $xml_string after this?
  15. Ok, well first things first. Column names such as col1 col2 col3 etc etc wreak of the need for a database refactor. Column names should describe the actual data they contain. If you need multiple fields of similar name like that you need to look into "Database Normalisation". Google it.
  16. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=352028.0
  17. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=352327.0
  18. Firstly, the idea of storing your columns in another database table is ridiculously inefficient and I see absolutely no reason for doing so. Secondly, your not calling any function in the middle of your query. Secondly, you should be returning the data, not echoing it.
  19. trq

    Dohhhh

    Have you heard of indenting your code so it is readable?
  20. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=352279.0
  21. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=352310.0
  22. That is precisely what this forum is for. There are thousands of people here willing to help, just post your questions.
  23. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=352302.0
  24. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=352282.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.