I have a strange error
When i run the following code, once in a while i get
Warning: printf(): Too few arguments in /www/api/class.InvoicePayment.inc.php on line 92
However i don't understand why this happens because in my coding i have this line as
if($output!="")
printf($output);
how can the this printf get a warning even when the output variable is not empty ..
%s, and you are not passing any values that should replace the placeholders.printfis similar to C's) is to changeprintf($output)toprintf("%s", $output)