Has anyone faced this problem?

|
Web Developer 2022-08-24 15:01:18
there is no email field in product table check
Denno_IT 2022-08-24 15:01:34
Web Developer 2022-08-24 15:01:18
there is no email field in product table check

i dont want to send email

Denno_IT 2022-08-24 15:01:54
in my view am only passing name, description, sellingprice and quantity
Denno_IT 2022-08-24 15:02:04
where are these fields coming from?
Denno_IT 2022-08-24 15:02:26
and the migration dont have even such fields.. am not getting this.. please help
TietoZegen 2022-08-24 15:21:35
are u trying to migrate ?
Tobel_l 2022-08-24 15:28:40
Laravel passing multiple parameters through (route), doesn’t load the style and scripts ….has anyone faced this problem?
Web Developer 2022-08-24 15:30:31
noo
Tobel_l 2022-08-24 15:35:45
nevermind fixed it
Denno_IT 2022-08-24 15:36:55
laravel_discuss-134957.jpg

Denno_IT 2022-08-24 15:37:05
why is this error
Denno_IT 2022-08-24 15:37:23
and the database neither the controller have these parameters..
Web Developer 2022-08-24 15:38:54
show controller code
Web Developer 2022-08-24 15:39:06
of uploadproducts
Denno_IT 2022-08-24 15:39:30
laravel_discuss-134962.jpg

Web Developer 2022-08-24 15:39:48
Denno_IT 2022-08-24 15:39:30

see

Web Developer 2022-08-24 15:40:01
in controller you have written
Denno_IT 2022-08-24 15:40:03
Web Developer 2022-08-24 15:39:48
see

there is an issue?

Web Developer 2022-08-24 15:40:11
$products->email
Web Developer 2022-08-24 15:40:26
write $products->description
Denno_IT 2022-08-24 15:42:11
Web Developer 2022-08-24 15:40:26
write $products->description

ooh yeah i see

Denno_IT 2022-08-24 15:42:31
laravel_discuss-134970.jpg
this now is the error that pops up when i correct that.. what does it mean?
Web Developer 2022-08-24 15:43:19
show form view
Web Developer 2022-08-24 15:43:37
there is not name field in form that’s what it’s saying
Denno_IT 2022-08-24 15:44:48
laravel_discuss-134973.jpg
this one
Web Developer 2022-08-24 15:44:56
view
Boudouft_Kaoutar 2022-08-24 15:45:11
Denno_IT 2022-08-24 15:42:31
this now is the error that pops up when i correct that.. what does it mean?

products model have a name ,email,phone,and password?

Web Developer 2022-08-24 15:45:12
your form
Denno_IT 2022-08-24 15:45:36
laravel_discuss-134977.jpg

Web Developer 2022-08-24 15:45:54
see data is inserted in database
Web Developer 2022-08-24 15:46:05
now you have error regarding data
Denno_IT 2022-08-24 15:46:07
Boudouft_Kaoutar 2022-08-24 15:45:11
products model have a name ,email,phone,and password?

no,.. name, description, sellingprice and quantity

Web Developer 2022-08-24 15:46:33
$product Product :: all();
return view(‘products.index’,compact(‘product’));
Web Developer 2022-08-24 15:46:44
in return after posting data add this
Web Developer 2022-08-24 15:47:01
Web Developer 2022-08-24 15:46:33
$product Product :: all();
return view(‘products.index’,compact(‘product’));

return this then problem will be solved

|