Connection failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
Notice: Undefined variable: conn in D:\xampp\htdocs\flashflood\conn.php on line 40

Fatal error: Uncaught Error: Call to a member function prepare() on null in D:\xampp\htdocs\flashflood\conn.php:28 Stack trace: #0 D:\xampp\htdocs\flashflood\conn.php(40): getFCTDate(NULL) #1 D:\xampp\htdocs\flashflood\data_wl.php(13): require_once('D:\\xampp\\htdocs...') #2 {main} thrown in D:\xampp\htdocs\flashflood\conn.php on line 28