Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '>= ip_addresses.ip_start AND <= ip_addresses.ip_end' at line 1 in /home/ciilogistics/ipphp/common_functions.php:148
Stack trace:
#0 /home/ciilogistics/ipphp/common_functions.php(148): mysqli->query('SELECT COUNT(*)...')
#1 /home/ciilogistics/public_html/index.php(19): checkipaddress('2600:1f28:365:8...')
#2 {main}
thrown in /home/ciilogistics/ipphp/common_functions.php on line 148