Laravel 5.5 tutorial 23 how to retrieve list of items in laravel

preview_player
Показать описание
Laravel 5 5 tutorial 23 how to retrieve list of items in laravel

IMPORTANT LINKS:

Donate to help us make more videos:

Follow us on social media:
Рекомендации по теме
Комментарии
Автор

Hey! I like your videos, they are really fast to learn smt in a short time. I would like to add someting for watchers. If you watched this video recently, you should set offsets as "offset-md-3 offset-lg-3" since bootstrap 4. This is my contribution :)

smurfs
Автор

if you get an error in inserting companies, you need to insert a user in the users table. it will show an error too about role_id. you don't have to insert role-id in the roles table. just go to
replace with what we added here is nullable(). then run this command $ php artisan migrate:refresh.
go and insert a user then a company. it should work!

mohamedabdi
Автор

my foreach, @end section nothing is work in here as I did as like as your video, ,so where is the problem, , how Do i solve

mousumimimi
Автор

white for me..Will u please clarify???

hamimadal
Автор

Why sql doesn't show you any error when you inserted a demo company name in companies and we've got error: #1452 - Cannot add or update a child row: a foreign key constraint. please explain this to me..
Thanks in advance

Kal-el
Автор

Hello good afternoon, thanks for your videos are great. But I have a problem, when I am going to insert the data to the companies table it shows me this error: INSERT INTO `companies` (`id`, `name`, `description`, `user_id`, `created_at`, `updated_at`) VALUES (NULL, 'Software Free', 'Company dedicated to software development in Colombia.', '1', '2017-11-14 00:00:00', NULL) // #1452 - Cannot add or update a child row: a foreign key constraint fails (`my_project`.`companies`, CONSTRAINT `companies_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`))

MrCibershok
Автор

i have an issue sir Undefined variable: compamies (View:
can you help me to solve this issue please

weird-facts-official
Автор

There's an issue here. you can't just insert '1' on companies.user_id because it references users.id and users table references roles.id which is a non null field based on the past videos. to fix it, the users migration <xxx_create_users_table.php> file should have a nullable role_id field ie. Only then you can register an account without a problem and reference the user's id in companies table.

jesusnana
Автор

Illuminate \ Database \ QueryException (42S02)
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lara_inventory.companies' doesn't exist (SQL: select * from `companies`), , , , why this problem occure how can I solve

mousumimimi
Автор

Why panel-default has to changed to panel-primary?

smaugli
Автор

1452 - Cannot add or update a child row: a foreign key constraint fails (`laravelproject`.`companies`, CONSTRAINT `companies_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`))

Please help me to fix it.

daniyalmughees
Автор

Help Please ! Bootstrap isn't working

muhammadzain
welcome to shbcf.ru