Welcome Guest, Not a member yet? Register   Sign In
quick question on 'math' in codeigniter
#3

[eluser]Unknown[/eluser]
[quote author="Pachirulo" date="1214332253"]Everything is possible with CI but, i think u are using SQL not PHP to do an average.

I think the better way is doing AVG at SQL, I think is always faster.[/quote]

you're right, i meant that i was doing AVG in my SQL query, not in the PHP.

i'll have to do some digging now to find out how to use the AVG in the SQL query with CI. any tips on what section(s) to pay close attention to?


Messages In This Thread
quick question on 'math' in codeigniter - by El Forum - 06-24-2008, 07:11 AM
quick question on 'math' in codeigniter - by El Forum - 06-24-2008, 07:30 AM
quick question on 'math' in codeigniter - by El Forum - 06-24-2008, 07:34 AM
quick question on 'math' in codeigniter - by El Forum - 06-24-2008, 08:32 AM
quick question on 'math' in codeigniter - by El Forum - 06-24-2008, 09:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB