<?
$values=mysql_fetch_assoc(GetResultSet("SELECT * FROM Questions WHERE qID = `CaseID`"));
$values=ShowQueryResultArray("SELECT * FROM Questions WHERE qID = `CaseID`");
echo sprintf(`INSERT INTO %s (%s) VALUES ("%s")`, `Questions`, implode(`, `, array_map(`mysql_escape_string`, array_keys($values))), implode(`", "`,array_map(`mysql_escape_string`, $values)));

//foreach ($values as $key => $value) 
//    echo "Key: $key; Value: $value<br>$crlf";
?>