Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. You need to put it in the while loop: while($sql_assoc = mysqli_fetch_assoc($sql_run)) { echo $sql_assoc['category']; }
  2. Maq

    var in url

    GRooVeZ, in the future, place OR tags around your code.
  3. Post the code you tried and the error messages you received.
  4. Yes we need to see the actual code. It looks like your query starts out: INSERT into zen_blog (id, content, active) VALUES ('',content, Assuming "content" is a variable then you're missing the '$', if not, then you need quotes around it.
  5. Repeating what everyone else said, users have a sufficient amount of warnings and chances to check their posts. Anyway, if it's reported it usually gets looked at within minutes.
  6. Check out Github, it's a very popular and well designed form of version control.
  7. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=357903.0
  8. A lot of IDEs allow you to import custom formatting (usually in XML) and you can hotkey to quickly indent and format code.
  9. sleepnot, In the future, place OR tags around your code.
  10. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=357832.0
  11. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=357656.0
  12. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=357596.0
  13. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=357586.0
  14. This topic has been moved to PHP Math Help. http://www.phpfreaks.com/forums/index.php?topic=357542.0
  15. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=357483.0
  16. vjmehra, in the future, place OR tags around your code.
  17. Have you read this sticky? http://www.phpfreaks.com/forums/index.php?topic=37442.0
  18. This error is usually caused because your SQL is invalid. Try changing this line to: $result = mysql_query("Select words from CurrentWords") or die(mysql_error());
  19. Maq

    Functions

    Yes, that's how you would use that function and yes you can use mysql_fetch_assoc in a function.
  20. Maq

    mysql error

    Inserting equal signs shouldn't be a problem. Can you post your code and what type of column you're inserting into?
  21. If they didn't get any details then probably nothing... They could notify the police or local authorities with a description of your car but probably not.
  22. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=356745.0
  23. Maybe it's the way you CnP your code but you should properly format and indent your code to detect such errors.
  24. You should be joining these tables: http://dev.mysql.com/doc/refman/5.0/en/join.html
  25. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=356136.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.