Welcome Guest, Not a member yet? Register   Sign In
Show result but i got a php error..why?
#4

[eluser]Pascal Kriete[/eluser]
EDIT: xwero beat me to it

The result_array function returns an array so why are you copying it over again?
Code:
$result = $query->result_array();

Or even better
Code:
return $query->result_array();

That should sort out your error as well.


Messages In This Thread
Show result but i got a php error..why? - by El Forum - 06-30-2008, 01:00 AM
Show result but i got a php error..why? - by El Forum - 06-30-2008, 02:43 AM
Show result but i got a php error..why? - by El Forum - 06-30-2008, 03:00 AM
Show result but i got a php error..why? - by El Forum - 06-30-2008, 03:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB