Bad $rs in GetInsertSQL. Connection or SQL invalid. Try using $connection->debug=true;

Error on line 1 FF":

file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : EntityRef: expecting ';' FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag p line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag CSS line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag BODY line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag DESCRIPTION line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag DESCRIPTIONS line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag MEDIA line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag DEPENDENCY line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag DEPENDENCIES line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag MEDIA line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag DEPENDENCY line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag DEPENDENCIES line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag MEDIA line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag RESULTS line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
file:///F%3A/Sites/Nectil/Files/tmp/17953891894653.xml:1: parser error : Premature end of data in tag RESPONSE line 1 FF" cellpadding="2" cellspacing="0" width="700&quo
unable to parse F:\Sites\Nectil\Files\tmp\17953891894653.xml