* -------------------------------------------------------------------- *
* Kurzbeschreibung : Auto-Loeschung von veralteten Mail-Links *
* -------------------------------------------------------------------- *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Auto-Loeschung von veralteten Mail-Links *
* -------------------------------------------------------------------- *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
- $result = SQL_QUERY_ESC("SELECT `stats_entry`,`stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC",
+ $result = sqlQueryEscaped("SELECT `stats_entry`, `stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC",
array(
generateDateTime(time(), '6')
), __FUNCTION__, __LINE__);
// Read all rows
array(
generateDateTime(time(), '6')
), __FUNCTION__, __LINE__);
// Read all rows
}
// Checks if the the statistics table is created
function isStatsTableCreated () {
// Check if the link is up
}
// Checks if the the statistics table is created
function isStatsTableCreated () {
// Check if the link is up
array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
// Is there a row?
array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
// Is there a row?
}
// Create the dummy table
function createStatsTable () {
// Check if the link is up
}
// Create the dummy table
function createStatsTable () {
// Check if the link is up
`stats_entry` VARCHAR(100) NOT NULL DEFAULT '',
`stats_value` BIGINT(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`stats_entry`)
`stats_entry` VARCHAR(100) NOT NULL DEFAULT '',
`stats_value` BIGINT(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`stats_entry`)
// Write all entries to the table
function writeStatsTable () {
// Check if the link is up
// Write all entries to the table
function writeStatsTable () {
// Check if the link is up
array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
// Begin the SQL command
array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
// Begin the SQL command
generateDateTime(time(), '6'));
// Add all entries to the final query
generateDateTime(time(), '6'));
// Add all entries to the final query
- SQL_QUERY(substr($sql, 0, -1), __FUNCTION__, __LINE__);
+ sqlQuery(substr($sql, 0, -1), __FUNCTION__, __LINE__);