Welcome Guest, Not a member yet? Register   Sign In
Fetch value in query and store in array
#6

[eluser]rochellecanale[/eluser]
Ok i solved my answer what i did is like this:
Code:
foreach($result1->result_array() as $row){
                
                $arr[] = $row['fkmember'];
                
            }
            for($x=0; $x<$numrows; $x++){
                    echo $arr[$x]."<br />";
            }
Then it displays all the value in array. Thanks a lot for the help my friend. Smile


Messages In This Thread
Fetch value in query and store in array - by El Forum - 11-20-2012, 10:29 PM
Fetch value in query and store in array - by El Forum - 11-20-2012, 10:39 PM
Fetch value in query and store in array - by El Forum - 11-20-2012, 10:54 PM
Fetch value in query and store in array - by El Forum - 11-20-2012, 11:00 PM
Fetch value in query and store in array - by El Forum - 11-20-2012, 11:04 PM
Fetch value in query and store in array - by El Forum - 11-20-2012, 11:10 PM
Fetch value in query and store in array - by El Forum - 11-24-2012, 02:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB