Welcome Guest, Not a member yet? Register   Sign In
MySQL ORDER BY FIELD does not working in CI 2.1.0
#1

[eluser]foska[/eluser]
Code:
Error Number: 1305

FUNCTION ******.FIELD does not exist

SELECT `id`, `image`, `sex` FROM `users` WHERE `id` IN (28,35,40,34,33) ORDER BY FIELD (id,28,35,40,34,33)
here using $this->db->query();
Need help in this...



Messages In This Thread
MySQL ORDER BY FIELD does not working in CI 2.1.0 - by El Forum - 06-19-2012, 01:29 AM
MySQL ORDER BY FIELD does not working in CI 2.1.0 - by El Forum - 06-19-2012, 01:54 AM
MySQL ORDER BY FIELD does not working in CI 2.1.0 - by El Forum - 06-19-2012, 03:41 AM
MySQL ORDER BY FIELD does not working in CI 2.1.0 - by El Forum - 06-19-2012, 04:46 AM
MySQL ORDER BY FIELD does not working in CI 2.1.0 - by El Forum - 06-19-2012, 06:02 AM
MySQL ORDER BY FIELD does not working in CI 2.1.0 - by El Forum - 06-19-2012, 11:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB