Should I create a fresh view to dd?

|
TheGuyi 2020-05-18 21:15:31
rijisoft 2020-05-18 21:14:35

This was just an example code it’s the same snippet tho… Was easier for me to type than photography.. my bad.. I have shared screenshot of the actual code

TheGuyi 2020-05-18 21:15:56
rijisoft 2020-05-18 21:15:28

Correct…

rijisoft 2020-05-18 21:15:58
rijisoft 2020-05-18 21:15:28

its your index.php
its not an example 😐😐😐😐😐😐

TheGuyi 2020-05-18 21:16:12
TheGuyi 2020-05-18 21:14:03

This is controller side

TheGuyi 2020-05-18 21:16:24
rijisoft 2020-05-18 21:15:58
its your index.php
its not an example 😐😐😐😐😐😐

Yes

rijisoft 2020-05-18 21:16:32
TheGuyi 2020-05-18 21:14:03

dd($users) and scrrenshot

rijisoft 2020-05-18 21:16:48
in controller
DesolatorMagno 2020-05-18 21:17:30
return ‘hello’ instead of the view and see if it show in the browser.
TheGuyi 2020-05-18 21:17:42
rijisoft 2020-05-18 21:16:48
in controller

Should I create a fresh view to dd?

rijisoft 2020-05-18 21:17:52
TheGuyi 2020-05-18 21:17:42
Should I create a fresh view to dd?

in controller only

rijisoft 2020-05-18 21:18:10
DesolatorMagno 2020-05-18 21:17:30
return ‘hello’ instead of the view and see if it show in the browser.

he send wrong variable to wrong view

DesolatorMagno 2020-05-18 21:18:46
We need to see if you are going in the right controller and right method, you could easily have 2 function that return same view
rijisoft 2020-05-18 21:19:24
DesolatorMagno 2020-05-18 21:18:46
We need to see if you are going in the right controller and right method, you could easily have 2 function that return same view

I think he is 👌🏻

rijisoft 2020-05-18 21:20:29
please first send

route that open in your browser

then send screen of your routes/web.php

then dd($users) in your controller

TheGuyi 2020-05-18 21:27:47
rijisoft 2020-05-18 21:16:32
dd($users) and scrrenshot

laravel_discuss-37898.jpg
Error I’m getting

TheGuyi 2020-05-18 21:27:47
rijisoft 2020-05-18 21:16:32
dd($users) and scrrenshot

laravel_discuss-37897.jpg
My index view

TheGuyi 2020-05-18 21:27:47
rijisoft 2020-05-18 21:16:32
dd($users) and scrrenshot

laravel_discuss-37896.jpg
Postcontroller

TheGuyi 2020-05-18 21:29:25
rijisoft 2020-05-18 21:20:29
please first send

route that open in your browser

then send screen of your routes/web.php

then dd($users) in your controller

laravel_discuss-37899.jpg
All my routes

TheGuyi 2020-05-18 21:36:56
DesolatorMagno 2020-05-18 21:18:46
We need to see if you are going in the right controller and right method, you could easily have 2 function that return same view

I have created a new view as you have asked and routed it

TheGuyi 2020-05-18 21:38:31
TheGuyi 2020-05-18 21:36:56
I have created a new view as you have asked and routed it

laravel_discuss-37903.jpg
Route file

TheGuyi 2020-05-18 21:38:31
TheGuyi 2020-05-18 21:36:56
I have created a new view as you have asked and routed it

laravel_discuss-37902.jpg
View

TheGuyi 2020-05-18 21:38:31
TheGuyi 2020-05-18 21:36:56
I have created a new view as you have asked and routed it

laravel_discuss-37901.jpg
Controller

TheGuyi 2020-05-18 21:39:40
TheGuyi 2020-05-18 21:38:31
Controller

laravel_discuss-37904.jpg
All are connected and view is returned no error.. what next from here? DD dump again?

muhammad_mosaab 2020-05-18 21:43:46
TheGuyi 2020-05-18 21:29:25
All my routes

in your route in line 25 you returned the view without $users

TheGuyi 2020-05-18 21:46:12
muhammad_mosaab 2020-05-18 21:43:46
in your route in line 25 you returned the view without $users

Correct as I am not returning it to that view but to this view as highlighted below

TheGuyi 2020-05-18 21:46:22
TheGuyi 2020-05-18 21:46:12
Correct as I am not returning it to that view but to this view as highlighted below

laravel_discuss-37907.jpg

TheGuyi 2020-05-18 21:49:40
TheGuyi 2020-05-18 21:36:56
I have created a new view as you have asked and routed it

@DesolatorMagno any solution?

muhammad_mosaab 2020-05-18 21:52:05
TheGuyi 2020-05-18 21:38:31
Route file

change return option in your controller

mescopaul 2020-05-18 22:06:13
Guys, I want to ask, Google Admob self clicking does is it still work?
TheGuyi 2020-05-18 22:09:19
muhammad_mosaab 2020-05-18 21:52:05
change return option in your controller

Done PHP artisan serve again and.. I have a dump on browser..now how do I do count? Instead of data

muhammad_mosaab 2020-05-18 22:11:20
TheGuyi 2020-05-18 21:38:31
Route file

as you used above just use count() method

TheGuyi 2020-05-18 22:11:31
laravel_discuss-37914.jpg
View
TheGuyi 2020-05-18 22:11:31
laravel_discuss-37913.jpg
Browser page
TheGuyi 2020-05-18 22:11:32
laravel_discuss-37916.jpg
Controller
TheGuyi 2020-05-18 22:11:32
laravel_discuss-37915.jpg
Router
Jainam 2020-05-18 22:11:54
https://forms.gle/nzvteoR2y2H7c2Mv6
TheGuyi 2020-05-18 22:12:11
muhammad_mosaab 2020-05-18 22:11:20
as you used above just use count() method

How do I call it to blade view? {{ $users}} ???

muhammad_mosaab 2020-05-18 22:13:22
{{ $users->count() }}
rijisoft 2020-05-18 22:48:14
TheGuyi 2020-05-18 22:11:31
Browser page

کسخلتر از خودت خودتی 😂

Z_Yamin 2020-05-18 22:52:42
laravel_discuss-37922.jpg
how can i solve this problem? please help me
Z_Yamin 2020-05-18 22:52:43
laravel_discuss-37923.jpg

Roham0010 2020-05-18 22:55:53
Z_Yamin 2020-05-18 22:52:43

place a screenshot of your form

Z_Yamin 2020-05-18 22:59:34
laravel_discuss-37925.jpg
this form and view
Z_Yamin 2020-05-18 22:59:35
laravel_discuss-37927.jpg

Z_Yamin 2020-05-18 22:59:35
laravel_discuss-37926.jpg

Z_Yamin 2020-05-18 22:59:36
laravel_discuss-37928.jpg

Roham0010 2020-05-18 23:02:42
you have question_option1
and you are calling it in a loop
so you are calling
question_option1
question_option2
,,,
Z_Yamin 2020-05-18 23:03:09
Yes like that
Roham0010 2020-05-18 23:03:40
Z_Yamin 2020-05-18 22:52:43

in line 136 remove .$j and add 1 to the string like “question_option1”

Roham0010 2020-05-18 23:04:12
Z_Yamin 2020-05-18 23:03:09
Yes like that

so you don’t have question_option2 and there is a problem

|