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 PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=319420.0
  2. $affiliates doesn't exist within your function. Also, all the global's declared are never used, remove them. Using the global keyword completely breaks part of what functions are best at (abstracting away code).
  3. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=319414.0
  4. I removed your link because it smelt of spam. To setup a wordpress site, buy a domain and hosting, upload wordpress and follow the install procedure. Quite simple.
  5. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=319371.0
  6. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=319400.0
  7. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=319347.0
  8. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=319252.0
  9. Because $comment_query is not an object. Taker another look at what mysql_query actually returns.
  10. You must have some tech savy clients. I wouldn't even know what OOP was if I wasn't a programmer myself.
  11. Kinda stuck where? Were not hear to write code for people.
  12. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=319224.0
  13. This topic has been moved to Microsoft SQL - MSSQL. http://www.phpfreaks.com/forums/index.php?topic=319147.0
  14. That's not exactly testing the application. You are aware that MSSQL & MySql don't share all common functionality? There are numerous differences.
  15. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=319172.0
  16. I would start by fixing the big image at the top. If you must have a massive image, at least make it the correct size so it doesn't need to be stretched and blurred.
  17. You have two different question now. One (listing directory contents) has nothing to do with PHP installation & configuration. It is likely either a permissions issue, or just bad code. Make sure the IUSR account has read access to the directories in question. The other (your now misconfigured PHP install). Is php installed under fastcgi or as an module?
  18. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=319098.0
  19. Not hard considering there is no error trapping / debugging in your code at all. Are you expecting more than one result? If so, you will need to do the echo'ing within the while loop. If your not, then you don't even need a while loop. $sql = "SELECT name, `desc` FROM items WHERE id = '$grab_item'"; if ($result = mysql_query($sql)) { if (mysql_num_rows($result)) { while ($row = mysql_fetch_assoc($result)) { $name = $row['name']; $desc = $row['desc']; echo $name . "<br>" . $desc . "<br>" . $grab_item; } } else { echo "No results found"; } } else { trigger_error(mysql_error() . "<br />$sql"); }
  20. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=319094.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.