Welcome Guest, Not a member yet? Register   Sign In
array of data
#1

i am very new to codeigniter and struggling with the syntax.
i have retrieved the data from the database and the array have more thean one rows in it now i want to foreach loop each entry one by one,i am not getiing how would i do it.i want to make a table and dispaly all the values in the respective columns
my array $followings have following data in it
"Array ( [0] => stdClass Object ( [username] => anmol [country] => india [designation] => student ) [1] => stdClass Object ( [username] => rahulchut [country] => japan [designation] => developer ) [2] => stdClass Object ( [username] => harsha [country] => india [designation] => founder ) [3] => stdClass Object ( [username] => rahuls [country] => usa [designation] => manager ) "
Reply


Messages In This Thread
array of data - by anmol - 04-14-2017, 02:51 AM
RE: array of data - by neuron - 04-14-2017, 03:08 AM
RE: array of data - by anmol - 04-14-2017, 06:05 AM
RE: array of data - by natanfelles - 04-14-2017, 06:50 AM
RE: array of data - by dave friend - 04-14-2017, 08:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB