04-25-2019, 07:51 PM
so you previous code worked kind of.
this is what I have
1. Redirect::to($us_url_root.$user->data()->id->admin. "101/index.php") ;
2. Redirect::to($us_url_root.$user->data()->id->Steven."calendar/");
BUT
no matter what user I use to log in, ether admin or Steven it takes me to 101/index.php , it doesn't recognize username and redirects to proper page.
Basically I want to redirect multiple use to their own homepages.
this is what I have
1. Redirect::to($us_url_root.$user->data()->id->admin. "101/index.php") ;
2. Redirect::to($us_url_root.$user->data()->id->Steven."calendar/");
BUT
no matter what user I use to log in, ether admin or Steven it takes me to 101/index.php , it doesn't recognize username and redirects to proper page.
Basically I want to redirect multiple use to their own homepages.