mysqli: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 'having callnx='0'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='0' 
mysqli: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 'having callnx='1'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='1' 
mysqli: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 'having callnx='2'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='2' 
mysqli: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 'having callnx='3'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='3' 
mysqli: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 'having callnx='4'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='4' 
mysqli: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 'having callnx='5'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='5' 
mysqli: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 'having callnx='6'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='6' 
mysqli: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 'having callnx='7'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='7' 
mysqli: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 'having callnx='8'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='8' 
mysqli: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 'having callnx='9'' at line 1
select substring(trim(index01),1,1) as callnx from index_db where 1    AND    having callnx='9' 
000

100

200

300

400

500

600

700

800

900