Diff for Metafox/db.inc.php between version 1.17 and 1.18
| version 1.17, 2006/05/19 07:11:16 |
version 1.18, 2006/05/20 16:51:23 |
| Line 1350 function ezin_cache_save($cache_id = 0, |
|
| Line 1350 function ezin_cache_save($cache_id = 0, |
|
| $query = sprintf('INSERT INTO %s (id, var_var, timestamp, content)' |
$query = sprintf('INSERT INTO %s (id, var_var, timestamp, content)' |
| .' VALUES ("%s", %d, UNIX_TIMESTAMP(SYSDATE()), \'%s\')', |
.' VALUES ("%s", %d, UNIX_TIMESTAMP(SYSDATE()), \'%s\')', |
| $ezin_sys['db']['tables']['cache'], $cache_id, $var_var, $content); |
$ezin_sys['db']['tables']['cache'], $cache_id, $var_var, $content); |
| @mysql_query($query, $ezin_db_handle) |
// possible error is ignored here |
| or ezin_db_error('ezin_cache_save()'); |
@mysql_query($query, $ezin_db_handle); |
| return true; |
return true; |
| } /* }}} */ |
} /* }}} */ |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|