Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. In my experience, pay rises are closely tied to your attitude and commitment the job. I've had three large pay rises in the last 18 months. The first was solely because I got off my ass and found a better employer, the other two where because its plain to see that I love my job. I work back on a regular basis, often do extr work when I get home and am constantly coming up with ways to improve our workflow. I'm defenately not the best programmer in our shop, but a good attitude and enthusiasm will get you a ling way.
  2. That code is seriously inefficient and prone to errors because your not using any transactions. I would definitely recommend using mysqldump instead.
  3. phpMyAdmin is an interface to the MySql server. MS SQL is a database server. Two completely different things. If your question is "Can php connect to a MS SQL server?" the answer is yes.
  4. My advice would be to ignore the advice of the person who told you to download some random third party libraries. Learn php.
  5. Define "weird results"
  6. With what? Do you not understand what: $correct_numbers = $correct_numbers + $count2; does?
  7. Awesome. We can't help you without seeing some relevent code.
  8. PHP has very good garbage collection mechanisms and in general you don't need to free any resources manually.
  9. 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.
  10. There is no "perfect" way of doing this. HTML and PDF are completely different formats.
  11. And you are stuck where?
  12. You forgot to tell us what your problem is. Oh, and to use tags when posting code.
  13. Read PFMaBiSmAd's reply again.
  14. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=352495.0
  15. You must have missed this? http://www.phpfreaks.com/forums/index.php?topic=244703.0
  16. This is exactly why the code is so bad. Newbs hacking on plugins hacking on WP itself.
  17. 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.
  18. Except that in this case we are talking about class constants.
  19. There is no such scenario, I suggest you rethink that. What are the permissions on the .htaccess file?
  20. That doesn't really answer the question. Are you executing this script by making a request to the script via a browser?
  21. 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
  22. 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.
  23. You never actually set $_SESSION['name'] to anything.
  24. 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.
×
×
  • 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.