Warning: mysql_query() expects parameter 2 to be resource, integer given in C:\xampp\htdocs\redsocial.com\system\database\Cone xion_Mysql.php on line 61
esta es la consulta
Código PHP:
$query = "SELECT r_name, r_color, r_image, r_special FROM u_rangos WHERE rango_id = {$tsArray['user_id']} LIMIT 1";
$this->ejecutarConsulta($query);
$array['rango'] = $this->fetch_assoc($query);