Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=360986.0
  2. Why delete this thread? Other people can reference this to solve a similar problem.
  3. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=360789.0
  4. Please don't revive dead threads from 6 years ago, thanks.
  5. You don't have an opening PHP tag <?php.
  6. A lot of bigger IDEs have plugins that support (S)FTP.
  7. So you attempted to try it but have not?
  8. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=360281.0
  9. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=360226.0
  10. Do you get any errors? Add this: $result=mysql_query($sql) or die(mysql_error()); Echo out your query.
  11. travelkind, in the future, place OR tags around your code.
  12. deja vu! Hah, I thought the same thing...
  13. in the future, place OR tags around your code.
  14. If it's not set or blank you should give it a default value.
  15. You need to check if it's set: if(!isset($_POST['subject']) || trim($_POST['subject']) == '') {
  16. Are you sure there's no errors? Have you tried this query in mysql directly?
  17. Don't double post. In the future, place OR tags around your code.
  18. This topic has been moved to CSS Help. http://www.phpfreaks.com/forums/index.php?topic=359199.0
  19. I split the derailed part of the thread into its own.
  20. You probably have a fatal error somewhere. Put these lines right after your opening <?php tag: ini_set ("display_errors", "1"); error_reporting(E_ALL);
  21. You can do it that way but you have to concatenate everything: $sql = "select * from " . $fields . " " . $operator . " '" . $criteria . "'";
  22. Look up interpolation: $sql = "Select * from inventory where $fields $operator '$criteria'";
×
×
  • 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.