Welcome Guest, Not a member yet? Register   Sign In
Query returns no result?
#3

[eluser]grolle[/eluser]
Hi,

I think there is somewhere a problem with utf8. If I run only
Code:
SELECT * FROM ci_users
it works correct. Before executing the statement I use
Code:
$username = $this->CI->db->escape_str($username);
. The username is something with "รถ"-character. But I don't know where to search. It is displayed correct everywhere.

Best regards ..

// Edit: Found it. There was
Code:
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
missing in the view


Messages In This Thread
Query returns no result? - by El Forum - 10-18-2009, 06:55 AM
Query returns no result? - by El Forum - 10-18-2009, 07:09 AM
Query returns no result? - by El Forum - 10-18-2009, 07:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB