Welcome Guest, Not a member yet? Register   Sign In
Undefined index
#4

[eluser]Rick Jolly[/eluser]
[quote author="thepyromaniac" date="1183260490"]...the reason for the error message (which was not addressed above) is that you are defining an index in an array that has not been declared.[/quote]
Actually, in php an array doesn't need to be declared.
Code:
// This works
$foo = array();
$foo['something'] = "val";

// This is OK too
$bar['something'] = "stuff";


Messages In This Thread
Undefined index - by El Forum - 06-30-2007, 09:50 AM
Undefined index - by El Forum - 06-30-2007, 11:22 AM
Undefined index - by El Forum - 06-30-2007, 04:28 PM
Undefined index - by El Forum - 06-30-2007, 11:57 PM
Undefined index - by El Forum - 07-01-2007, 04:16 AM
Undefined index - by El Forum - 07-01-2007, 06:15 AM
Undefined index - by El Forum - 07-01-2007, 10:20 AM
Undefined index - by El Forum - 07-01-2007, 02:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB