In Laravel 4, which I am just beginning to learn, I have this bit of logic in my controller:$guid = Input::get('guid');
. I know that part works because I can echo out the value successfully. I am trying to pass the $guid value to a view through a redirect like this: return Redirect::route('worktable1.show', $guid);
but I keep getting an error "Undefined variable: guid" from the view. In the view itself I have this: {{ Form::hidden('guid', $guid) }}
. I have done basically this same thing in other controllers/views without any problems but I can't figure out why this is working. Any suggestions?
spowel4 0 Newbie Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
spowel4 0 Newbie Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
spowel4 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.