HI , I am trying to add table_id parameter in the store url , so new url will look like
store.com/location_slug/menus?t_id=5
but $url is only returning params , slug and categories not t_id.
plese help me add this new parameter in url.
HI , I am trying to add table_id parameter in the store url , so new url will look like
store.com/location_slug/menus?t_id=5
but $url is only returning params , slug and categories not t_id.
plese help me add this new parameter in url.
If you’re just trying to get the data out of the url, it’s PHP at the end of the day so you can always just use $_GET['t_id']
, or lavarels request object (https://laravel.com/docs/master/requests).