echo '</textarea>';*/
     $b = Traceroute::processQuickLink($dataArray);
 } else {
     $b = Traceroute::getTraceRoute($dataArray);
 }
 $data = json_encode($dataArray);
 $saveLog = Traceroute::saveSearch($data);
 //Traceroute::saveSearch($data);
 // get IXmaps geographic data and prepare the response into a json format
 //print_r($data);
 if (count($b) != 0) {
     $ixMapsData = Traceroute::getIxMapsData($b);
     //print_r($ixMapsData);
     $ixMapsDataT = Traceroute::dataTransform($ixMapsData);
     //print_r($ixMapsDataT);
     $ixMapsDataStats = Traceroute::generateDataForGoogleMaps($ixMapsDataT);
     $trHtmlTable = Traceroute::renderTrSets($ixMapsDataT);
 }
 // end calculation of execution time
 $mtime = microtime();
 $mtime = explode(" ", $mtime);
 $mtime = $mtime[1] + $mtime[0];
 $endtime = $mtime;
 $totaltime = $endtime - $starttime;
 $totaltime = number_format($totaltime, 2);
 //echo "<hr/>This page was created in <b>".$totaltime."</b> seconds";
 // add db query results/errors
 $ixMapsDataStats['querySummary'] = $dbQuerySummary;
 $ixMapsDataStats['queryLogs'] = $dbQueryHtml;
 //$ixMapsDataStats['queryLogs']=.$dbQueryHtml.'<hr/>'.$saveLog;
 // add excec time