Welcome Guest, Not a member yet? Register   Sign In
DB count_all_results() is not returning an int but a string
#2

[eluser]Phil Sturgeon[/eluser]
Good point, they could do with typecasting this with a simple return (int) $x in the funciton.

This is not really a coding fault of the EllisLab team, this is a shortfall of PHP's native MySQL binding functions. To these functions, EVERYTHING is a string, all the time. Useless!


Messages In This Thread
DB count_all_results() is not returning an int but a string - by El Forum - 07-22-2009, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB