Convert to mysqli
This commit converts all mysql_* function to the appropriate counterparts in mysqli. I used this tool for most of it: https://github.com/philip/MySQLConverterTool This makes it possible to continue using MysqlDumper with PHP 7.0
Dieser Commit ist enthalten in:
Ursprung
dd0e8aede7
Commit
5b995d339d
23 geänderte Dateien mit 210 neuen und 214 gelöschten Zeilen
|
|
@ -9,7 +9,7 @@ $fields=getExtendedFieldInfo($db,$tablename);
|
|||
|
||||
$sqledit="SELECT * FROM `$tablename` WHERE ".$recordkey;
|
||||
$res=MSD_query($sqledit);
|
||||
$record=mysql_fetch_array($res,MYSQL_ASSOC); // get the record
|
||||
$record=mysqli_fetch_array($res, MYSQLI_ASSOC); // get the record
|
||||
$num=sizeof($record); // get the nr of fields of the record
|
||||
|
||||
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren