Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Define "weird results"
  2. With what? Do you not understand what: $correct_numbers = $correct_numbers + $count2; does?
  3. Awesome. We can't help you without seeing some relevent code.
  4. PHP has very good garbage collection mechanisms and in general you don't need to free any resources manually.
  5. I would suggest your brain is just.... There is nothing stopping your form doing what your describing as long as it's done properly of course.
  6. Not reliably no.
  7. There is no "perfect" way of doing this. HTML and PDF are completely different formats.
  8. And you are stuck where?
  9. You forgot to tell us what your problem is. Oh, and to use tags when posting code.
  10. Read PFMaBiSmAd's reply again.
  11. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=352495.0
  12. You must have missed this? http://www.phpfreaks.com/forums/index.php?topic=244703.0
  13. This is exactly why the code is so bad. Newbs hacking on plugins hacking on WP itself.
  14. It doesn't really matter. If your Ajax expects html, send it html any way you like. I generally prefer to send json and have the JAvaScript build the html though.
  15. Except that in this case we are talking about class constants.
  16. There is no such scenario, I suggest you rethink that. What are the permissions on the .htaccess file?
  17. That doesn't really answer the question. Are you executing this script by making a request to the script via a browser?
  18. Have you looked at the FTP spec? It will tell you in very low level terms what requests can be performed. http://www.ietf.org/rfc/rfc959.txt
  19. Are you trying to do this via a web interface? Do you need to? You shouldn't have any problem processing this via the command line with any scripting language.
  20. You never actually set $_SESSION['name'] to anything.
  21. Sorry, but that code is pretty bad on many levels. the use of global, no visibility keywords, the use of php 4's var keyword. As for your issue, that should work without error.
  22. 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.
  23. No, but it's not a good way of organising CSS. You can, but it's not usually needed.
  24. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=352409.0
  25. Learning another language just to learn about classes is ridiculous. There is nothing particularly odd about PHP's OOP implementation.
×
×
  • 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.