notionlogic's reply should have worked perfectly, but if you absolutely have to, why don't you just send it an array!!!
//make the array before you send it to the function:
$data[0] = "this";
$data[1] = "that";
//....
function myfunction($data)
{
foreach ($data)
{
// do something to each variable in array
}
}
This way, you can send it a hundred variables if you wish.
Enjoy.
Rubric