How to get the id from controller and pass to the id that needed in url of redirection | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to get the id from controller and pass to the id that needed in url of redirection

My client need an add form that when you submit, it will redirect to its view page. It can view the details you add. Please help. TIA

14th Mar 2019, 9:23 AM
Ynelle Kyle Novicio
Ynelle Kyle Novicio - avatar
3 Answers
+ 4
use session Or just encode it to the url.
14th Mar 2019, 9:32 AM
Toni Isotalo
Toni Isotalo - avatar
+ 2
://Can you describe more about it🤔🤔
14th Mar 2019, 9:31 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
I alreadt get it.... js actually pass the id, but I recognize it lately....
22nd Mar 2019, 9:40 AM
Ynelle Kyle Novicio
Ynelle Kyle Novicio - avatar