Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. class $connection{ Should give you an error. class connection { is valid.
  2. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=313491.0
  3. You will need to show us some code I think. I'm still not really sure what exactly your doing from your description alone.
  4. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=313507.0
  5. $sql = "SELECT * FROM orig_codes_1a"; $result = mysql_query($sql) or die(mysql_error()); // END :: Create query to be displayed as final results of original codes table. echo "<p>$sql</p>";
  6. Use... if (isset($_POST['checkbox'])) { Instead of.... if (isset($_POST['submit'])) {
  7. The variable ($checkbox) used in your foreach isn't defined anywhere is the first thing I see.
  8. Ah, yeah, that'll be your problem. Your using $dbh, (which is a connection object) as the table name in your query (which should be a string).
  9. Why not simply echo your queries?
  10. else $skipped = "Account Skipped: wrong password/email combo, or a login error...\n"; echo $skipped; $echo = file_put_contents($filename, $skipped, FILE_APPEND);
  11. if ($result = mysql_query("SELECT Banned FROM users WHERE username = '$username'")) {
  12. zip_open() expects a string. $zip = zip_open('myzip.zip');
  13. Does.... echo '<a href="zenphoto/index.php?album=' . str_replace('-s', '-w', $_GET['album']) . '">link name</a>'; help you?
  14. Probably thousands of them, have you Googled?
  15. A priority over 'ready made scripts' should be tutorials in my opinion. We need more tutorials!!!
  16. The PDO statement object has a rowCount() method. http://php.net/manual/en/pdostatement.rowcount.php
  17. Besides the fact that your code is obviously from some dated tutorial (your using allot of deprecated functions) what exactly is the issue?
  18. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=313366.0
  19. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=313361.0
  20. This topic has been moved to PHP Installation & Configuration. http://www.phpfreaks.com/forums/index.php?topic=313336.0
  21. You simply need to tell it what smtp server your using.
  22. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=313325.0
  23. You need to check that $_GET['rsTown'] exists before you start using it.
×
×
  • 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.