Hey guys,
I have a function called showAll, which has 2 arrays as it's arguments. I declared it as follows:

function showAll($dayarray, $distinctShifts)

both arguments are returned in other parts of the code, so why is it giving me missing argument errors for both of them? Please give me some possible causes. Thanks in advance!

how are you calling your function.
more code please, cannot debug your single line above.

Member Avatar
diafol

how are you calling your function.

I think you have it. I would wager that it's being called :

showAll();
Member Avatar
diafol

ok mark as solved please. The link below the box.