Something like this might help
$results = DB::select( DB::raw("SELECT login,name FROM mt4_users,users_agents WHERE mt4_users.login = users_agents.mt4_users and agents_idagent=:variable), array(
'variable' => 1));
Followed this example
You can find more info about laravel and raw querries in the official documentation
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community