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=321449.0
  2. See http://www.phpfreaks.com/forums/faqcode-snippet-repository/multi-column-results
  3. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=321448.0
  4. I've not heard of any UI libraries for PHP. generally, you use PHP to output HTML.
  5. Define 'better'. header redirects, what exactly would you do to improve it?
  6. onClick events are client side, php executes server-side. The only way you can do this is to have your onClick event trigger a Javascript function that in turn makes an Ajax request.
  7. I moved it here. The question has everything to do with HTML and nothing to do with PHP (PHP Coding Help is where this thread was moved from).
  8. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=321443.0
  9. If this project is being done on a clients budget you really shouldn't be doing it at all should you? You don't even understand a simple if elseif statement, I think it's pretty unfair to be getting paid. Anyway, if statements (like everything else) are covered in the manual. See if.
  10. Don't use Javascript to create the confirm message.
  11. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=321230.0
  12. And? Databases are designed to store data. They especially like it when you use good design practices storing that data.
  13. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=321431.0
  14. Your code could also be put in a switch, you would just need to test for the bool true. (I wouldn't generally recommend this though). switch (true) { case isset($_POST['news']): add($_POST['text']); header("location: admin.php"); break; case isset($_POST['rnews']): deletenews($_POST['number']); header("location: admin.php"); break; // etc etc }
  15. They could be, but that is what you use break for.
  16. This code does not lend itself to a switch very well because you are testing different values.
  17. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=321420.0
  18. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=321418.0
  19. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=321424.0
  20. Is this code all in one page? If so, you will need to wrap your processing code in a check that checks the form has been submitted or not.
  21. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=321330.0
  22. Where exactly are you stuck? Were not here to take requests and write code for people.
  23. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=321347.0
  24. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=321323.0
  25. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=130332.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.