update for php7
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
// Status pr<70>fen, berichtigen, ersetzen
|
||||
// Status pr<70>fen, berichtigen, ersetzen
|
||||
function repair_status($kennung, $zeit_neu, $status_alt, $zeit_alt) {
|
||||
global $korr_status_zeit, $status_kfz;
|
||||
|
||||
@ -326,8 +326,8 @@ function split_kfz($kfz) {
|
||||
}
|
||||
|
||||
function count_total($tocount) {
|
||||
$result = mysql_query("SELECT Count(*) as $tocount FROM $tocount");
|
||||
$result = mysql_fetch_array($result);
|
||||
$result = mysqli_query("SELECT Count(*) as $tocount FROM $tocount");
|
||||
$result = mysqli_fetch_array($result);
|
||||
return $result[$tocount];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user