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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.