From 4d64eb99b9687b6d486aaaf288389f6836a10549 Mon Sep 17 00:00:00 2001 From: Gabe Villa Date: Mon, 24 Jul 2017 10:50:26 -0600 Subject: [PATCH] Count Condition was blowing up missing bracket --- csv2sql.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/csv2sql.php b/csv2sql.php index 2e68120..f7d2638 100644 --- a/csv2sql.php +++ b/csv2sql.php @@ -97,11 +97,10 @@ $count2=(int)$r2['count']; $count=$count2-$count1; -if($count>0) +if($count>0){ echo "Success"; echo " total $count records have been added to the table $table "; - } else{ echo "Mysql Server address/Host name ,Username , Database name ,Table name , File name are the Mandatory Fields";