Versuchen Sie Folgendes:
$text = trim($_POST['textareaname']);
$textAr = explode("\n", $text);
$textAr = array_filter($textAr, 'trim'); // remove any extra \r chars
foreach ($textAr as $line) {
// Your sql Query here with $line as the string.
}
Versuchen Sie Folgendes:
$text = trim($_POST['textareaname']);
$textAr = explode("\n", $text);
$textAr = array_filter($textAr, 'trim'); // remove any extra \r chars
foreach ($textAr as $line) {
// Your sql Query here with $line as the string.
}
Datenbankschema für Produktattribute
Bandbreitenfreundliches Abfrageprofil für Azure SQL-Datenbank
Warum schlägt meine ODBC-Verbindung fehl, wenn ein SSIS-Ladevorgang in Visual Studio ausgeführt wird, aber nicht, wenn dasselbe Paket mit dem Dienstprogramm zum Ausführen von Paketen ausgeführt wird?
Umgang mit Fehlern in verschachtelten SQL Server-Transaktionen