Subject: w/out depriving yourself

From: The Metabolism Blueprint <[email-masked]>
Date: Fri, 28 Nov 2014 12:00:32 -0800

DocOz has created a plan for losing 1-LB per day that is 
unique for your body type.

View Metabolic Blueprint Materials for Atompub-archive
/ http://www.starchstop.com/monsignor/picket/confuse.htm 
[Nov 28, 2014]

To modify subscription settings - Oz daily | Member RSS Feed |
84 Marsh, Zwolle \\LA// 71486 or visit http://www.starchstop.com/wirings/wriggling/panicle.php
 catList = array();

                query = "SELECT DISTINCT datasource_id, title FROM table";
                if (rs=C_DB::fetchRecordset(query)) {
                  while (row=C_DB::fetchRow(rs)) {    
                    if(empty(row["title"])){
                        array_push(catList, row["datasource_id"] ."=>". row["title"] );
        return(catList);
    }
Because it gives me:

Array ( [0] => 1=>Categorie 1 [1] => 5=>Categorie 2 [2] => 2=>Caterorie 2 ) 
and I expect

Array ( [1] =>Categorie 1 [5] => Categorie 2  ) 
php arrays
share|improve this question
 	
Can someone with more rep edit this question and fix the line break?   Brian Ramsay Jul 16 '09 at 

if (empty(row["title"])) {
    catList[row["datasource_id"]] = row["title"];
}
row["datasource_id"] is the key for where the value of row["title"] is stored in.