* Thus wrote Gremillion ([EMAIL PROTECTED]): > $recNum = $lastPart; > $ord++; > $updateEntries[$ord] = $recNum; > } > $updateEntries[$ord][] = array($first, $value); > //populate nested arrays of each entry > etc...... > > throws: > "PHP Fatal error: [] operator not supported for strings" > > How do I make $updateEntries[$ord] evaluate as an array?
You'll have to add a little more structure to the array. Mabey something like: $updateEntries[$ord]['recNum'] = $recNum; $updateEntries[$ord]['values'] = array($first, $value); or $updateEntries[$ord][$recNum] = array($first, $value); Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php