HELP - Clean and simple
| From: | Jonas Rosling | Date: | Mon, 22 May 2006 13:45:12 +0000 |
| Subject: | HELP - Clean and simple | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-236629@lists.php.net to get a copy of this message | ||
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.
Hope someone understands me.