Well, you need accept 4 strings in your function, so your function declaration needs 4 variables:
function mytable($var1, $var2, $var3, $var4) {
Now you need to output a table with each of those text items in a column. You had that part correct!! 🙂
print ("<table><tr><td>$var1</td>, <td>$var2</td>, <td>$var3</td>, <td>$var4</td></tr></table>");
}
THe last thing you need to do is actually call your function:
mytable($var1, $var2, $var3, $var4);
Hope that helps.