Try using this route:
Route::get('myroutingsolver', array('uses'=>'MyController@solver'));
In MyController create a solver method:
public function solver(){
if(Input::has('p')){
$p = Input::get('p');
// Do something with the p
if(Input::has('id')){
$id = Input::get('id');
// Do something with the id
}
}
}
If you say it like that, then I also can use the Route:;get('/'), and check if Input::has('p')? Nice!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community