Update manually, or you want to use a form?

|
Allo Teacher 2021-09-20 21:12:07
PHP and MySQL Web Development in pdf
https://bit.ly/3ECANnK

PHP and MySQL Web Development in pdfAllo Teacher
PHP and MySQL Web Development 5th Edition by Luke Welling, Laura Thomson is a PDF book for free download.
pinchez2 2021-09-20 21:14:06
Kashyap Parikh 2021-09-20 11:15:22
Post::all();
PHP Error: Class ‘Post’ not found in /var/www/html/your-projecteval()’d code on line 1

$post= Post::all();

heartless980 2021-09-20 21:18:22
heartless980 2021-09-20 21:04:07
I want to give access users to create user and storeadmin… I have roles table
My three roles is admin storeadmin and user
Senior help me how can i do it

….?

RajkotRocks 2021-09-20 21:22:49
heartless980 2021-09-20 21:18:22
….?

https://spatie.be/docs/laravel-permission/v5/introduction

Please check this

Introduction | laravel-permissionspatie.be
RajkotRocks 2021-09-20 21:23:00
I think it’s work
jreadr 2021-09-20 21:31:38
jreadr 2021-09-20 21:05:28
Please how to update multi rows
Like here in Laravel
I want to update classid and amount of fee_category_id (1)
Please any help ❤️

Please help

pinchez2 2021-09-20 21:34:25
likemind021 2021-09-20 19:21:16
Contents in my index.php file changed to this. I changed it back to Original content, it still came back to this. The website has been running for a while before it stops working

Is your website live ? If yes remove it First

pinchez2 2021-09-20 21:35:09
Then on your models use protected $fillable
pinchez2 2021-09-20 21:50:06
jreadr 2021-09-20 21:05:28
Please how to update multi rows
Like here in Laravel
I want to update classid and amount of fee_category_id (1)
Please any help ❤️

Update manually , or you want to use a form ?

pinchez2 2021-09-20 21:50:33
Somewherewithmahim 2021-09-20 20:52:03
Any resource that i can make dynamic contents from db ?

Elaborate

pinchez2 2021-09-20 21:51:41
omar khaled 2021-09-20 15:58:11
What’s the defrence between.

update(Request $request, $id),

update(Request $request, Post $post)

Depends what you are passing , if on the routes its Post use the one for Post if its id use Id

Hare Krishna 2021-09-20 22:12:10
Guys all courses available with lifetime support in affordable prices (Any Platform) if somebody wants dm me fast
Hare Krishna 2021-09-20 22:12:29
Coding Ninjas, Coding Blocks, Gfg, Algo expert, etc. And many more
pinchez2 2021-09-20 22:27:57
2020-10-01 14:46:24
T.me/laravel

Laravel | English Group
@LARAVEL_DISCUSS

Angular | English Group
@A_Ngular

Reactjs | English Group
t.me/joinchat/BmPxGEQL0xR9aao5xB6zeA

React Native | English Group
t.me/joinchat/BmPxGEKDXam9wxGG3RvsVA

Laravel | Persian Group
@LARAVEL_LINK

Laravel | Persian Group | Advanced
@LARAVELLINK

Reactjs | Persian Group
t.me/joinchat/BmPxGEO8StVYD5DkJTSe-A

React Native | Persian Group
t.me/joinchat/BmPxGEMRs2foPw4XceYtDA

Persian Entertainment Channel
@iGram
@Gitmusic
@Gitfilm
@laravelCast
Admin:@mehrabjafari

The domain is for sale
LARAWEL.COM
The domain larawel.com is for sale or for rent for good idea …

Which error ?

PHP Begginer 2021-09-21 00:20:17
Hallo

I am building a commnity website when user can post ,like ,comments etc so I have just designed the database design but I am not sure if I have done correctly .Am asking anyone from this forum to have a look and to give some feedback please

PHP Begginer 2021-09-21 00:20:35
https://pastebin.com/wrfXmNL5

Database Design – Pastebin.comPastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
jreadr 2021-09-21 03:50:31
pinchez2 2021-09-20 21:50:06
Update manually , or you want to use a form ?

I make form
But I have problems in controller
What is the code to update it

code_with_shahzad 2021-09-21 07:46:05
Anyone here resume building expert?
Gregbiggs 2021-09-21 08:24:51
2021-09-09 03:30:03
any novoice to pro course for laravel

Novice

Kashyap Parikh 2021-09-21 09:43:07
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘yourproject.posts’ doesn’t exist (SQL: insert into posts (`title`, content, updated_at, `created_at`) values (First Blog Post, This post is very simple, 2021-09-21 06:40:23, 2021-09-21 06:40:23))
Kashyap Parikh 2021-09-21 09:43:37
this error is coming trying to insert the data
pepelopez96 2021-09-21 09:44:11
Did you run your migrations?
pepelopez96 2021-09-21 09:44:55
Ensure you have the table ‘posts’ created in your DB.
Kashyap Parikh 2021-09-21 09:45:32
yes after that all data from database has gone i have run php artisan migrate:fresh
Kashyap Parikh 2021-09-21 09:46:07
laravel_discuss-95055.jpg

pepelopez96 2021-09-21 09:46:12
If you have it. Then you can specify the table name in the model.

protected $table = ‘posts’;

pepelopez96 2021-09-21 09:47:10
You don’t have the table ‘posts’. The closer one to that name is ‘poets’
pepelopez96 2021-09-21 09:48:05
Maybe you put the wrong name in the migration of the table.
Kashyap Parikh 2021-09-21 09:48:57
but i have created model and migration file of post
pepelopez96 2021-09-21 09:50:58
Show me the migration file of ‘posts’
pepelopez96 2021-09-21 09:58:13
try running

php artisan migrate:refresh

Kashyap Parikh 2021-09-21 10:03:00
IlluminateDatabaseQueryException

SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘remarks’ already exists (SQL: create table remarks (`id` bigint unsigned not null auto_increment primary key, created_at timestamp null, updated_at timestamp null, content text not null, post_id bigint unsigned not null) default character set utf8mb4 collate ‘utf8mb4_unicode_ci’)

Kashyap Parikh 2021-09-21 10:03:34
this error is coming and post table is not migrating
pepelopez96 2021-09-21 10:11:17
well, maybe you should try deleting your tables manually and then run the command again
kingmoney20 2021-09-21 10:14:52
I am looking for someone who knows how to tinker with cms laravel by integrating a telegram bot, specifically I saw a website and I would like to replicate it, if someone is interested and would like to contact me in private write me. I state that I wrote this info based on what I found on the net, so if I said nonsense, forgive my ignorance. Thank you
|