result() as $row key problem

#2
[eluser]danmontgomery[/eluser]
Alias the result column in your query

Code:
SELECT SUM(table.column) AS some_col ...

Code:
$row->some_col


Messages In This Thread
result() as $row key problem - by El Forum - 09-01-2010, 03:12 PM
result() as $row key problem - by El Forum - 09-01-2010, 03:15 PM
result() as $row key problem - by El Forum - 09-01-2010, 03:46 PM
result() as $row key problem - by El Forum - 09-01-2010, 03:51 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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