You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DB::query('UPDATE pvt_messages SET opened=:yes WHERE user_to=:username AND user_from=:profilee',array(':yes'=>$yes,':username'=>$username,':profilee'=>$profile));
$query=DB::query('SELECT user_from,msg_body,date,opened from pvt_messages WHERE user_to IN(:username,:profilee) AND user_from IN(:username,:profilee)', array(':username'=>$username, ':profilee'=>$profile));