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 JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=360789.0
  2. Please don't revive dead threads from 6 years ago, thanks.
  3. You don't have an opening PHP tag <?php.
  4. Post the pertinent code.
  5. A lot of bigger IDEs have plugins that support (S)FTP.
  6. So you attempted to try it but have not?
  7. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=360281.0
  8. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=360226.0
  9. Do you get any errors? Add this: $result=mysql_query($sql) or die(mysql_error()); Echo out your query.
  10. travelkind, in the future, place OR tags around your code.
  11. deja vu! Hah, I thought the same thing...
  12. in the future, place OR tags around your code.
  13. If it's not set or blank you should give it a default value.
  14. You need to check if it's set: if(!isset($_POST['subject']) || trim($_POST['subject']) == '') {
  15. Are you sure there's no errors? Have you tried this query in mysql directly?
  16. in the future, place OR tags around your code.
  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'";
  23. Use something like this: $mypro = mysql_query("SELECT * FROM Sheet1 WHERE pro_catagory LIKE '%People%' ORDER BY pro_id DESC"); if(mysql_num_rows($mypro) == 0) { echo "There are no listings for the brand right now"; } else { while($row = mysql_fetch_array($mypro)) { print "- ".$row['pro_name']." "; } } ?> Don't use * unless you really want to select every column. You also would want to add some proper error checking because there is a chance mysql_query could return "false" which would error out your program, read - http://www.phpfreaks.com/blog/or-die-must-die
  24. Agreed, this question comes up often enough for a warrant.
  25. ... http://developer.android.com/sdk/index.html
×
×
  • 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.