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
|
|
@ -6,12 +6,12 @@ $tpl->set_filenames(array(
|
|||
|
||||
$sqledit="SHOW FIELDS FROM `$tablename`";
|
||||
$res=MSD_query($sqledit);
|
||||
$num=mysql_numrows($res);
|
||||
$num=mysqli_num_rows($res);
|
||||
|
||||
$feldnamen="";
|
||||
for ($x=0; $x<$num; $x++)
|
||||
{
|
||||
$row=mysql_fetch_object($res);
|
||||
$row=mysqli_fetch_object($res);
|
||||
$feldnamen.=$row->Field.'|';
|
||||
$tpl->assign_block_vars('ROW',array(
|
||||
'CLASS' => ($x%2) ? 1 : 2,
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren