Undefined index when assigning value to array element

SexygexyDonry

New Member
In while loop I'm assigning value pulled from DB to the array like so:\[code\]$states[$row['state']]\[/code\]PHP gives me the following notice:\[quote\] Notice: Undefined index: ME in /var/www/vhosts/basementfinishing-md-de.com/httpdocs/inc/class.cityBlock.php on line 67\[/quote\]What I'm doing wrong here?
 
Back
Top