Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 24. október 2026

Rozdiely pre phpMyEdit/phpMyEdit.class.php medzi verziami 1.141 a 1.142

verzia 1.141, 2004/04/20 18:12:41 verzia 1.142, 2004/04/22 16:12:27
Riadok 19 
Riadok 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.140 2004/04/20 17:47:28 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.141 2004/04/20 18:12:41 nepto Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Riadok 2384  function phpMyEdit_filter_handler(theFor
Riadok 2384  function phpMyEdit_filter_handler(theFor
                 }                  }
                 $where_part = " WHERE (".$this->key.'='.$this->key_delim.$this->rec.$this->key_delim.')';                  $where_part = " WHERE (".$this->key.'='.$this->key_delim.$this->rec.$this->key_delim.')';
                 $query_real   .= $where_part;                  $query_real   .= $where_part;
                   $query_newrec  = $query_oldrec.' FROM ' . $this->tb;
                 $query_oldrec .= ' FROM ' . $this->tb . $where_part;                  $query_oldrec .= ' FROM ' . $this->tb . $where_part;
                 // Additional query (must go before real query)                  // Additional query (must go before real query)
                 $res     = $this->myquery($query_oldrec, __LINE__);                  $res     = $this->myquery($query_oldrec, __LINE__);
Riadok 2411  function phpMyEdit_filter_handler(theFor
Riadok 2412  function phpMyEdit_filter_handler(theFor
                         return false;                          return false;
                 }                  }
                 // Another additional query (must go after real query)                  // Another additional query (must go after real query)
                 $res     = $this->myquery($query_oldrec, __LINE__);                  if (in_array($this->key, $changed)) {
                           $this->rec = $newvals[$this->key]; // key has changed
                   }
                   $query_newrec .= ' WHERE ('.$this->key.'='.$this->key_delim.$this->rec.$this->key_delim.')';
                   $res     = $this->myquery($query_newrec, __LINE__);
                 $newvals = @mysql_fetch_array($res, MYSQL_ASSOC);                  $newvals = @mysql_fetch_array($res, MYSQL_ASSOC);
                 @mysql_free_result($res);                  @mysql_free_result($res);
                 // Creating array of changed keys ($changed)                  // Creating array of changed keys ($changed)

Legend:
Odstranené z verzie1.141  
zmenené riadky
  Pridané vo verzii1.142

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok