Welcome Guest, Not a member yet? Register   Sign In
How can I get the value returned from the row() function in the database
#1

[eluser]Namsu[/eluser]
This is basically from a row output on a database using CodeIgniter.
$total = $this->ticketquery->countArtistTotal();

I have used print_r to tell me the structure of the object:
stdClass Object ( [COUNT(artevtid)] => 13 )

I tried several ways of accessing it like an array [] and an object -> but can't find any luck.


Messages In This Thread
How can I get the value returned from the row() function in the database - by El Forum - 08-12-2010, 11:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB