|
@@ 1848-1851 (lines=4) @@
|
| 1845 |
|
} |
| 1846 |
|
$sql = "$cmd INTO $table (".implode(',',$cols).') VALUES ('.implode(',',$params).')'.$sql_append; |
| 1847 |
|
// check if we already prepared that statement |
| 1848 |
|
if (!isset($this->prepared_sql[$sql])) |
| 1849 |
|
{ |
| 1850 |
|
$this->prepared_sql[$sql] = $this->Link_ID->Prepare($sql); |
| 1851 |
|
} |
| 1852 |
|
$sql = $this->prepared_sql[$sql]; |
| 1853 |
|
$inputarr = &$data; |
| 1854 |
|
} |
|
@@ 1925-1928 (lines=4) @@
|
| 1922 |
|
} |
| 1923 |
|
$sql = "UPDATE $table SET ".implode(',',$params).' WHERE '.$where_str; |
| 1924 |
|
// check if we already prepared that statement |
| 1925 |
|
if (!isset($this->prepared_sql[$sql])) |
| 1926 |
|
{ |
| 1927 |
|
$this->prepared_sql[$sql] = $this->Link_ID->Prepare($sql); |
| 1928 |
|
} |
| 1929 |
|
$sql = $this->prepared_sql[$sql]; |
| 1930 |
|
$inputarr = &$data; |
| 1931 |
|
} |