Welcome Guest, Not a member yet? Register   Sign In
doesn't work sprintf
#7

[eluser]WanWizard[/eluser]
I can't explain. You say that your $dates array contains
Quote:Array
( [2010-04-01] => 2
[2010-04-09] => 7
[2010-04-11] => 5
[2010-04-25] => 0
)
So all I can say is that PHP is right: the requested index does not exist. So either your code to fill $dates is wrong, or you need to check if the index exists before referencing it.


Messages In This Thread
doesn't work sprintf - by El Forum - 05-29-2010, 01:33 PM
doesn't work sprintf - by El Forum - 05-29-2010, 02:04 PM
doesn't work sprintf - by El Forum - 05-29-2010, 03:13 PM
doesn't work sprintf - by El Forum - 05-29-2010, 10:34 PM
doesn't work sprintf - by El Forum - 05-30-2010, 06:33 AM
doesn't work sprintf - by El Forum - 05-30-2010, 08:32 AM
doesn't work sprintf - by El Forum - 05-30-2010, 10:23 AM
doesn't work sprintf - by El Forum - 05-30-2010, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB