RE: [PHP] HELP - Clean and simple

From: Date: Mon, 22 May 2006 13:52:54 +0000
Subject: RE: [PHP] HELP - Clean and simple
Groups: php.general 
Request: Send a blank email to php-general+get-236631@lists.php.net to get a copy of this message
[snip] I don't know if I'm explaining things in a difficult way or not. But I'm gonna try to explaine what I want very clean and simple. 1. I wan't to check if an array is decleard or not, refering to a value in a row/field ($row[0]) 2. If it's not decleard I declear it and assign it's name by the value from a row/field ($row[0]) - Further down I shell fill it with values like $arrayname[$row[2]] = $row[1] (arrayname based on $row[0]) 3. Else if it's decleard fill it with values like above. [/snip] http://www.php.net/array http://www.php.net/is_array

« previous php.general (#236631) next »