So the arrays are coming out how I want them Any example of the arrays, which may vary in size and have things like ' < \ / in them below
$TablesNames
Array 
( 
   [0] => SampleDate 
   [1] => LAB 
) 
$LineResults
Array 
( 
  [0] => 4/08/2014 
  [1] => Micro - Water 
)
Abstract of the code where I'm trying to insert the values
$sqlTableNames = (implode(',',$TableNames));
for ($x=0; $x<$Xsize; $x++) 
{
  for($y=0;$y<$MapSize;$y++)
  {     
        $LineResults[$x][$y] = $results[$x][$map[$y]];          
  }
$sqlLineResults = (implode("','",$LineResults[$x]));
$ResultsInsert = $db->prepare("INSERT INTO samples (:TableValues) VALUES (:LineValues)");   
$ResultsInsert->bindParam(':TableValues', $sqlTableNames, PDO::PARAM_STR);
$ResultsInsert->bindParam(':LineValues', $sqlLineResults, PDO::PARAM_INT);  
$ResultsInsert->execute();
}
Throws the error "...the right syntax to use near '?) VALUES (?)' at line 1' .."
 
    