How are you passing to blade from controller?

|
WithOutUserName0 2020-10-23 13:31:45
laracasts
o_sayfullayev 2020-10-23 13:32:02
o_sayfullayev 2020-10-23 13:31:34
https://www.youtube.com/watch?v=ImtZ5yENzgE&ab_channel=freeCodeCamp.org

actually it is not for 8 but, there is no huge difeerence

o_sayfullayev 2020-10-23 13:32:12
WithOutUserName0 2020-10-23 13:31:45
laracasts

+++

Pro 2020-10-23 13:33:36
Zulfikar_ditya 2020-10-23 13:29:31
I dont really like read the doc. I like watch a tutor

Try to live with it . The best place to learn laravel

Rohit Pahuja 2020-10-23 13:46:29
how can i print single data in view page
Rohit Pahuja 2020-10-23 13:47:50
from database i fetch all in controller then i want to print only 1 data how can i please help me
Rohit Pahuja 2020-10-23 13:55:00
please
Rohit Pahuja 2020-10-23 13:55:10
tell me please guys please
2020-10-23 13:57:51
laravel_discuss-56111.jpg

o_sayfullayev 2020-10-23 13:59:03
2020-10-23 13:57:51

you will be spammed

o_sayfullayev 2020-10-23 13:59:47
Rohit Pahuja 2020-10-23 13:47:50
from database i fetch all in controller then i want to print only 1 data how can i please help me

give command tor latest and paninate(1)

Rohit Pahuja 2020-10-23 14:01:15
laravel_discuss-56114.jpg

Rohit Pahuja 2020-10-23 14:01:40
i write like this but it return single word of the string
o_sayfullayev 2020-10-23 14:02:07
Ohh come on man
o_sayfullayev 2020-10-23 14:02:20
it’s returning name attribute in the table
o_sayfullayev 2020-10-23 14:02:32
ask another attributes too
Piyushchoubisa 2020-10-23 14:03:03
laravel_discuss-56119.jpg
I am getting this error when i store the data .. Can any one help me ?
o_sayfullayev 2020-10-23 14:03:22
Rohit Pahuja 2020-10-23 14:01:40
i write like this but it return single word of the string

like {{$product->another[0]}}

Piyushchoubisa 2020-10-23 14:03:29
laravel_discuss-56121.jpg

WIN 2020-10-23 14:04:05
laravel_discuss-56122.jpg
selamat malam teman-teman saya ijin bertanya,,
1. bagaimana caranya ketika saya pilih nama supplier data alamat dan telp langsung tampil
2. bagaimana menampilkan data barang kedalam tabel setelah saya pilih data barang
dan klik tombol “Add”. mohon sarannnya teman-teman. terima kasih.
Rohit Pahuja 2020-10-23 14:04:47
o_sayfullayev 2020-10-23 14:03:22
like {{$product->another[0]}}

i dnt know what r u telling

o_sayfullayev 2020-10-23 14:05:52
Rohit Pahuja 2020-10-23 14:04:47
i dnt know what r u telling

you are showing only your “name” column’s first value in database

o_sayfullayev 2020-10-23 14:06:10
if you want to show other values ask them too
Rohit Pahuja 2020-10-23 14:06:24
I want to fetch only first value of name
2020-10-23 14:06:36
Hello Everyone,
I would like to know, for Laravel Pro, what’s the best design Pattern when building a robust Application?
o_sayfullayev 2020-10-23 14:06:53
Rohit Pahuja 2020-10-23 14:06:24
I want to fetch only first value of name

ok what’s the problem

Rohit Pahuja 2020-10-23 14:09:18
wait
Rohit Pahuja 2020-10-23 14:10:42
laravel_discuss-56130.jpg
this my controller i fetch all data from database after fetch i want to print only single data how can i do in view
Rohit Pahuja 2020-10-23 14:28:23
tell me please
2020-10-23 14:36:51
Rohit Pahuja 2020-10-23 14:10:42
this my controller i fetch all data from database after fetch i want to print only single data how can i do in view

Within your blade view
use a for each loop
$productarray->THE COLUMN YOU WANT TO DISPLAY FROM THE DB

2020-10-23 14:39:55
Something like
@foreach ($productarray as $product)
$product->name
@endforeach
Rohit Pahuja 2020-10-23 14:45:58
it print all the data of name
Rohit Pahuja 2020-10-23 14:46:14
i want only 1 name
Kamalwebdev 2020-10-23 14:53:25
Rohit Pahuja 2020-10-23 14:46:14
i want only 1 name

Only one name
It will be first or last name?

berto309 2020-10-23 15:16:24
Hello developers. Please can I get any article on how to ssh into my AWS RDS using Beanstalk with HeidiSQL.
Steps on how to do that is appreciated.
berto309 2020-10-23 15:17:06
berto309 2020-10-23 15:16:24
Hello developers. Please can I get any article on how to ssh into my AWS RDS using Beanstalk with HeidiSQL.
Steps on how to do that is appreciated.

I’ve created the ssh keys

karthick2828 2020-10-23 15:17:09
Hi all, https://www.producthunt.com/posts/gegocart check this and UpVote our OpenSource Initiative

GegoCart – OpenSource, multi-vendor cart based on Laravel, VueJS, Nuxt | Product HuntProduct Hunt
GegoCart is an open source solution focusing on building an enterprise grade e-commerce shopping cart and multi-vendor marketplace. Gegocart is developed as an API first design. Gegocart developed in Laravel PHP Framework and Nuxtjs.
Enigm3tic 2020-10-23 15:34:59
can anyone fix 500 server error caused by larvel script
skys215 2020-10-23 15:44:22
watch the log
skys215 2020-10-23 15:44:44
set php config display_errors to 0
Enigm3tic 2020-10-23 15:45:05
can you do it sir
Enigm3tic 2020-10-23 15:45:17
i’ll give you script
skys215 2020-10-23 15:45:50
no. I don’t even know what error it is
skys215 2020-10-23 15:46:54
make sure what is the error first
fsalesb 2020-10-23 15:48:11
Guys I have an error: Undefined property: stdClass::$participante
follow and

Model Apontamento:

public function participante(){
return $this->hasMany(AppRelacaoAp::class);
}

Controller:

$aguardando = DB::table(‘apontamentos’)
->join(‘descricao_aps’, ‘apontamentos.id’, ‘=’, ‘descricao_aps.apontamentodesc_id’)
->join(‘kanban’, ‘apontamentos.kanban_id’, ‘=’, ‘kanban.id’)->where(‘apontamentos.kanban_id’, 7)
->join(‘users’, ‘apontamentos.user_id’, ‘=’, ‘users.id’)
->join(‘relacao_aps’, ‘apontamentos.id’, ‘=’, ‘relacao_aps.apontamento_id’)
->join(‘clientes’, ‘apontamentos.cliente_id’, ‘=’, ‘clientes.id’)
->get();

Blade:

@foreach($value1->participante as $item)
<img class=”avatar” src=”{{ asset($item->perfilImagem) }}” title=”Participante”>
@endforeach

skys215 2020-10-23 15:49:07
how are you passing to blade from controller?
fsalesb 2020-10-23 15:50:47
return view(‘webadmin.apontamento.kanban’, compact(‘aguardando’));
Enigm3tic 2020-10-23 16:11:45
skys215 2020-10-23 15:45:50
no. I don’t even know what error it is

Error is not showing in logs

Neel 2020-10-23 16:27:48
Laravel Surveillance https://laravel-news.com/laravel-surveillance

Laravel SurveillanceLaravel News
Laravel Surveillance is a package by Neelkanth Kaushik to put malicious users, IP addresses, and anonymous browser fingerprints under surveillance.
skys215 2020-10-23 17:55:02
fsalesb 2020-10-23 15:50:47
return view(‘webadmin.apontamento.kanban’, compact(‘aguardando’));

how are you passing $value1 ?

|