Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpMyEdit/phpMyEdit.class.php between version 1.23 and 1.24

version 1.23, 2002/10/30 11:49:56 version 1.24, 2002/11/02 13:24:28
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.22 2002/10/29 16:54:47 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.23 2002/10/30 11:49:56 nepto Exp $ */
   
 /*      phpMyEdit intro {{{ */  /*      phpMyEdit intro {{{ */
 /*  /*
Line 2664  echo '<h5>'.mysql_affected_rows ().' '.$
Line 2664  echo '<h5>'.mysql_affected_rows ().' '.$
         {          {
                 if (!isset($this->db)) {                  if (!isset($this->db)) {
                         echo '<h1>phpMyEdit: no database defined</h1>'."\n";                          echo '<h1>phpMyEdit: no database defined</h1>'."\n";
                         return;                          return false;
                 }                  }
                 if (!isset ($this->tb)) {                  if (!isset ($this->tb)) {
                         echo '<h1>phpMyEdit: no table defined</h1>'."\n";                          echo '<h1>phpMyEdit: no table defined</h1>'."\n";
                         return;                          return false;
                 }                  }
   
                 if ($dbl = @mysql_pconnect($this->hn, $this->un, $this->pw)) ;                  if ($dbl = @mysql_pconnect($this->hn, $this->un, $this->pw)) ;
                 else {                  else {
                         echo '<h1>phpMyEdit: could not connect to MySQL</h1>'."\n";                          echo '<h1>phpMyEdit: could not connect to MySQL</h1>'."\n";
                         return;                          return false;
                 }                  }
   
                   return true;
         } /* }}} */          } /* }}} */
   
         /*          /*
Line 2697  echo '<h5>'.mysql_affected_rows ().' '.$
Line 2699  echo '<h5>'.mysql_affected_rows ().' '.$
                 echo "</pre>\n";                  echo "</pre>\n";
                  */                   */
   
                 /* Database connection*/                  /* Database connection */
                 $this->connect();                  if ($this->connect() == false)
                           return false;
   
                 /*                  /*
                  * ======================================================================                   * ======================================================================

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top