Path is storage?

|
pano 2021-08-06 15:17:20
Sujata Kalita 2021-08-06 15:01:54
Queries is returning null,so check status of the variable using dd()

Did Dont work

Sujata Kalita 2021-08-06 15:30:51
natghi2010 2021-08-06 15:04:50
Go to the controller and return the data

Follow this steps πŸ‘

YOUCODEWORLD 2021-08-06 15:30:58
pano 2021-08-06 15:03:38

remove <?php TAG!!!

YOUCODEWORLD 2021-08-06 15:33:32
Blade file no need php TAG
pano 2021-08-06 15:33:41
YOUCODEWORLD 2021-08-06 15:30:58
remove <?php TAG!!!

Ok

pano 2021-08-06 15:33:52
This error comes again
YOUCODEWORLD 2021-08-06 15:34:41
You check all blade file.
YOUCODEWORLD 2021-08-06 15:34:59
If have php tag remove that.
YOUCODEWORLD 2021-08-06 15:37:50
pano 2021-08-06 15:33:52
This error comes again

If not working take a pic error.

Sujata Kalita 2021-08-06 15:41:28
value=”@isset($settings){{$settings->blog_name}} @endisset”
Sujata Kalita 2021-08-06 15:41:48
try this, it will work
pano 2021-08-06 15:43:08
Sujata Kalita 2021-08-06 15:41:48
try this, it will work

Ok i try now

YOUCODEWORLD 2021-08-06 15:45:31
pano 2021-08-06 15:43:08
Ok i try now

Or you first check from controller settings variable is not null if null return empty array

YOUCODEWORLD 2021-08-06 15:46:20
But you can in blade check settings variable is easy.
YOUCODEWORLD 2021-08-06 15:47:42
{{$settings->blog_name??”default value ”}}
Anuj 2021-08-06 15:49:06
laravel_discuss-90643.jpg
This image path is good in local but live img is not shown,, can anyone suggest me what is the base url
Anuj 2021-08-06 15:50:11
Pls suggest right path
Anuj 2021-08-06 15:50:31
Image not show in live
YOUCODEWORLD 2021-08-06 15:50:50
pano 2021-08-06 15:43:08
Ok i try now

Maybe directly check settings variable before form then run next.

Anuj 2021-08-06 15:51:24
laravel_discuss-90647.jpg

YOUCODEWORLD 2021-08-06 15:52:11
Anuj 2021-08-06 15:51:24

Path is storage?

Anuj 2021-08-06 15:52:27
No
Anuj 2021-08-06 15:52:38
I dont know path
YOUCODEWORLD 2021-08-06 15:53:04
You take a pic from database.
Anuj 2021-08-06 15:53:14
Wait
Anuj 2021-08-06 15:54:40
laravel_discuss-90653.jpg

YOUCODEWORLD 2021-08-06 15:54:46
Anuj 2021-08-06 15:53:14
Wait

And take a pic your store controller

pano 2021-08-06 15:54:52
Sujata Kalita 2021-08-06 15:41:28
value=”@isset($settings){{$settings->blog_name}} @endisset”

It work

Anuj 2021-08-06 15:54:55
This is pic
YOUCODEWORLD 2021-08-06 15:55:08
Anuj 2021-08-06 15:54:40

Save wrong path

Anuj 2021-08-06 15:55:15
Okk
Anuj 2021-08-06 15:55:25
Pls tell me what is the correct path
2021-08-06 15:55:37
2021-08-06 10:41:15
Can someone display an image in laravel project without first prompting the upload file function but rather creating a folder manually in the project and then displaying it through <img src =”{{assett(‘/images/ttjpg’) alt=”logo”/>

I fixed it thanks though, it was a typo error its supposed to be <img src =”{{asset(‘images/ttjpg.jpg’)}}” alt = “logo”> I didnt add the extension of .jpg πŸ˜‚ but i got it sorted

pano 2021-08-06 15:55:43
Thanks guys
Anuj 2021-08-06 15:55:51
I stuck for last 2 hours
|