southbeach
Programmer
I have arrays defined as
but when populating arrays using code such as
I get
This is mostly pointing to the $y value. The warning comes up once for each instance an element if set.
I could turn warning off and not see it, but I rather keep it ON on my development box so that I am aware of potential flaws.
What say you?
thank you all in advance for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Code:
$titles = array();
$af = array();
$am = array();
$mn = array();
$ot = array();
$to = array();
but when populating arrays using code such as
Code:
$am[$n][$y]++;
I get
Code:
Notice: Undefined offset: 3 in C:\wamp\[URL unfurl="true"]www\pos\veriscandailyreport.php[/URL] on line 173
This is mostly pointing to the $y value. The warning comes up once for each instance an element if set.
I could turn warning off and not see it, but I rather keep it ON on my development box so that I am aware of potential flaws.
What say you?
thank you all in advance for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.