how to join two table in codeigniter easily[updated] | ci_model | ci_controller | codeigniter 3 -datainflow
We sometimes require to get full url path with query string parameters. So we can get current url with also all parameter using several method of laravel.
There are the options to get full url with query string as listed bellow:
Request Facade
public function home() { $fullurl = Request::fullUrl(); print_r($fullurl); }
Using URL Facade
public function home() { $fullurl = URL::full(); print_r($fullURL); }
$request Object
public function home(Request $request) { $fullurl = $request->fullUrl(); print_r($fullurl); }
Related posts