How to get selected category in dropdown for its subcategory, while edit the subcategory in laravel 8, please help?

|
Abiodun_Web 2022-01-15 10:33:57
NO JESUS NO LIFE 2022-01-15 10:17:26

Just do: php artisan make:migration add_name_column_to_events_table –table

Once it has created the migration open the migration and add

$table->string(‘name’) ->after(‘id’);

then run php artisan migrate

Abiodun_Web 2022-01-15 10:34:11
It will update the table
rohisuthar 2022-01-15 10:53:00
Abiodun_Web 2022-01-15 10:33:57
Just do: php artisan make:migration add_name_column_to_events_table –table

Once it has created the migration open the migration and add

$table->string(‘name’) ->after(‘id’);

then run php artisan migrate

correction:

$table->string(‘name’) ->after(‘id’)->add();

Abiodun_Web 2022-01-15 11:35:38
Without add it works i still use it today
Shubham Joshi 2022-01-15 12:17:34
How to get selected category in dropdown for its subcategory,while edit the subcategory in laravel 8,please help??
Shubham Joshi 2022-01-15 12:17:59
It is in ecommerce website
rohisuthar 2022-01-15 12:35:55
Shubham Joshi 2022-01-15 12:17:34
How to get selected category in dropdown for its subcategory,while edit the subcategory in laravel 8,please help??

it’s simple… draw subcategory array from selected category value..

web design 2022-01-15 12:42:20
How to create visitors with laavel ?
Shubham Joshi 2022-01-15 12:47:55
rohisuthar 2022-01-15 12:35:55
it’s simple… draw subcategory array from selected category value..

How to do that?

Shubham Joshi 2022-01-15 13:01:08
rohisuthar 2022-01-15 12:35:55
it’s simple… draw subcategory array from selected category value..

Thank you,but how?please

husifer 2022-01-15 13:10:55
Buy any websites course in 10$ dm me.
rohisuthar 2022-01-15 13:17:18
Shubham Joshi 2022-01-15 13:01:08
Thank you,but how?please

eg.:

$list = SubCategory::where(‘category_id’, ?)->pluck(‘id’, ‘name’)->toArray();

Shubham Joshi 2022-01-15 13:20:12
rohisuthar 2022-01-15 13:17:18
eg.:

$list = SubCategory::where(‘category_id’, ?)->pluck(‘id’, ‘name’)->toArray();

Ok,thanks

web design 2022-01-15 13:26:21
web design 2022-01-15 12:42:20
How to create visitors with laavel ?

How to create visitors with laavel ?

Arion88 2022-01-15 14:02:13
Freelancing opportunity on Laravel, mon to fri daily 2 hrs support, 18k INR per month, interested candidates can DM me urgently
Ajesh 2022-01-15 14:07:08
laravel_discuss-104942.jpg

Ajesh 2022-01-15 14:07:38
Can anyone know how to fix this secret issues in Laravel based?
rohisuthar 2022-01-15 14:09:40
Ajesh 2022-01-15 14:07:08

use google recaptcha instead normal captcha in your form..

husifer 2022-01-15 14:17:27
PHP with Laravel for beginners – Become a Master in Laravel​ course ping me.
Imam 2022-01-15 15:43:36
Halo suhu
Imam 2022-01-15 15:45:49
laravel_discuss-104949.jpg
Hello master, how to get data ‘keterangan’ from this collection?
Imam 2022-01-15 15:46:55
laravel_discuss-104950.jpg
My code
sssssatria 2022-01-15 15:54:04
Imam 2022-01-15 15:46:55
My code

$s->keterangan

Imam 2022-01-15 16:01:06
$absensi->where(‘siswa_id’, $s->id_siswa)->keterangan
Is not working
Imam 2022-01-15 16:02:00
[keterangan] does not exist on this collection
TheAbhishekIN 2022-01-15 16:09:09
Rust
zcoll 2022-01-15 18:19:21
laravel_discuss-104957.jpg

zcoll 2022-01-15 18:19:37
Hi guys what’s wrong here ???
zcoll 2022-01-15 18:20:05
I want to update the op_st_code
PARVINDER SINGH 2022-01-15 18:27:09
Any one have laravel documentation in hindi
sssssatria 2022-01-15 19:05:38
Imam 2022-01-15 16:01:06
$absensi->where(‘siswa_id’, $s->id_siswa)->keterangan
Is not working

langsung aja panggil $s->keterangan, bukan kek gitu

Amit Sharma 2022-01-15 19:06:55
laravel_discuss-104962.jpg
Anyone help me for this
Amit Sharma 2022-01-15 19:07:51
laravel_discuss-104963.jpg

u_f_0_1 2022-01-15 19:12:53
Hello Devs, I have a question
Faraz5566 2022-01-15 19:13:08
u_f_0_1 2022-01-15 19:12:53
Hello Devs, I have a question

go on

|