(revisited) Changed SQL statement extraction from struktur.sql to recognize ; correctly now with \r\n
This commit is contained in:
parent
5b2b4efc67
commit
de3027eb60
|
|
@ -138,7 +138,7 @@
|
|||
mysqli_query($db,"SET SESSION SQL_MODE :=''");
|
||||
//mysqli_real_escape_string($db,$import);
|
||||
|
||||
$import = explode (";\n", $import);
|
||||
$import = explode (";\r\n", $import);
|
||||
|
||||
foreach ($import as $imp){
|
||||
if ($imp != '' && $imp != ' ' && trim($imp) != ''){
|
||||
|
|
|
|||
Loading…
Reference in New Issue