Subversion Repositories PHPX

Rev

Rev 61 | Rev 68 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61 Rev 66
Line 850... Line 850...
850
          {
850
          {
851
            $value = "'" . $value . "'";
851
            $value = "'" . $value . "'";
852
          }
852
          }
853
        }
853
        }
854
854
855
        $values = ' VALUES (' . implode(', ', $values) . ')';
855
        $values = 'VALUES (' . implode(', ', $values) . ')';
856
      }
856
      }
857
    }
857
    }
858
858
859
    /* TODO: Should escape table names with escapeName(), but what about aliases? */
859
    /* TODO: Should escape table names with escapeName(), but what about aliases? */
860
    $query = "INSERT INTO {$table} {$cols} {$values}";
860
    $query = "INSERT INTO {$table} {$cols} {$values}";