- pinakibhowmick
- Posts : 31
Join date : 2020-07-26
Age : 25
having problem on creating edit in forms
Fri Jul 31, 2020 10:10 pm
- Jeetbasak54@gmail.com
- Posts : 18
Join date : 2020-07-25
Re: having problem on creating edit in forms
Fri Jul 31, 2020 10:54 pm
Use the 'title' within 2 second bracket in view page..(show.blade.php) like the way {{title}} and pass that title within an array from controller page.
pinakibhowmick likes this post
- pinakibhowmick
- Posts : 31
Join date : 2020-07-26
Age : 25
Re: having problem on creating edit in forms
Fri Jul 31, 2020 11:02 pm
Jeetbasak54@gmail.com wrote:Use the 'title' within 2 second bracket in view page..(show.blade.php) like the way {{title}} and pass that title within an array from controller page.
still having the error
- Jeetbasak54@gmail.com
- Posts : 18
Join date : 2020-07-25
Re: having problem on creating edit in forms
Fri Jul 31, 2020 11:04 pm
Can u please share the code of controller function and view page of line 9
- pinakibhowmick
- Posts : 31
Join date : 2020-07-26
Age : 25
Re: having problem on creating edit in forms
Fri Jul 31, 2020 11:06 pm
pinakibhowmick wrote:Jeetbasak54@gmail.com wrote:Use the 'title' within 2 second bracket in view page..(show.blade.php) like the way {{title}} and pass that title within an array from controller page.
still having the error
- pinakibhowmick
- Posts : 31
Join date : 2020-07-26
Age : 25
Re: having problem on creating edit in forms
Fri Jul 31, 2020 11:10 pm
Jeetbasak54@gmail.com wrote:Can u please share the code of controller function and view page of line 9
- Jeetbasak54@gmail.com
- Posts : 18
Join date : 2020-07-25
Re: having problem on creating edit in forms
Fri Jul 31, 2020 11:25 pm
In show.blade.php. u can use @foreach($article as $r) which comes from controller page actualy .. and also in the show.blade page use {{$r-◆title}} and at the end of that loop use @endforeach.
pinakibhowmick likes this post
- ritendubhattacharyya
- Posts : 13
Join date : 2020-07-25
Re: having problem on creating edit in forms
Sat Aug 01, 2020 1:05 am
here the article object is null thats why it is showing the error....check the variable carefully
pinakibhowmick likes this post
- pinakibhowmick
- Posts : 31
Join date : 2020-07-26
Age : 25
Re: having problem on creating edit in forms
Sat Aug 01, 2020 1:07 am
Thanks for your help problem solved
Jeetbasak54@gmail.com likes this post
- Jeetbasak54@gmail.com
- Posts : 18
Join date : 2020-07-25
Re: having problem on creating edit in forms
Sat Aug 01, 2020 1:10 am
Nice..
Permissions in this forum:
You cannot reply to topics in this forum
|
|