10)) // make sure there is something actually there before trying to work with it
{
$testvar = implode(":#:",$results); // combine the results into one string seperated by :#:
$testvar = str_replace(Chr(13), "", $testvar); // remove carriage returns for javascript
$testvar = str_replace(Chr(9), "", $testvar); // remove tab for javascript
$testvar = str_replace(Chr(10), "", $testvar); // remove newline for javascript
$testvar = str_replace(Chr(0), "", $testvar); // remove nulls for javascript
}
echo $file; // display blog page which needs to have the table for google map and html links, then run javascript
?>