Composer installation?

|
2021-05-21 10:53:22
Virat 2021-05-21 10:28:51
this is my error please correct me

Clearly, the name field cannot be null

Get dd from $req

2021-05-21 10:56:00
laravel_discuss-82062.jpg

Virat 2021-05-21 11:18:48
2021-05-21 10:53:22
Clearly, the name field cannot be null

Get dd from $req

Bro tell me clearly once

Harikrishnan5494 2021-05-21 11:28:20
Virat 2021-05-21 11:18:48
Bro tell me clearly once

Name value isn’t getting

2021-05-21 11:29:15
Virat 2021-05-21 11:18:48
Bro tell me clearly once

In the controller, get the dd($req) And then take a picture

Virat 2021-05-21 11:29:38
Harikrishnan5494 2021-05-21 11:28:20
Name value isn’t getting

bro i’m not enter any values but also it shows this error

Harikrishnan5494 2021-05-21 11:29:49
Virat 2021-05-21 11:29:38
bro i’m not enter any values but also it shows this error

In your db table name field is can’t be null that’s why it’s showing this error.

Harikrishnan5494 2021-05-21 11:30:52
laravel_discuss-82068.jpg
Hide these things and just return $req
Virat 2021-05-21 11:30:55
Harikrishnan5494 2021-05-21 11:29:49
In your db table name field is can’t be null that’s why it’s showing this error.

if db table if one column null then it again show second column could not be null

Harikrishnan5494 2021-05-21 11:31:19
Virat 2021-05-21 11:30:55
if db table if one column null then it again show second column could not be null

Ya it will

Harikrishnan5494 2021-05-21 11:32:29
If you want to insert null values into your table then you have to make it as default null
Virat 2021-05-21 11:32:51
Harikrishnan5494 2021-05-21 11:29:49
In your db table name field is can’t be null that’s why it’s showing this error.

laravel_discuss-82072.jpg

Harikrishnan5494 2021-05-21 11:32:58
Or else use validation
Harikrishnan5494 2021-05-21 11:33:13
Virat 2021-05-21 11:32:51

It’s empty

Harikrishnan5494 2021-05-21 11:33:40
Enter some values and hit enter
Virat 2021-05-21 11:34:03
it not show any form
Virat 2021-05-21 11:34:17
bro
Virat 2021-05-21 11:34:38
after execute it shows []
Harikrishnan5494 2021-05-21 11:34:38
Virat 2021-05-21 11:34:03
it not show any form

It is just display the value that you have entered

Harikrishnan5494 2021-05-21 11:35:06
Virat 2021-05-21 11:34:38
after execute it shows []

It means you didn’t entered any values

Harikrishnan5494 2021-05-21 11:35:37
In your form you have used post method
Harikrishnan5494 2021-05-21 11:35:57
But in your router you have mentioned as get method
Harikrishnan5494 2021-05-21 11:36:10
Change it into post
Virat 2021-05-21 11:36:25
ok bro
Virat 2021-05-21 11:37:59
Harikrishnan5494 2021-05-21 11:34:38
It is just display the value that you have entered

Route::post(‘/’, [AppHttpControllersPersonController::class,’addPerson’])->name(‘person’);

Virat 2021-05-21 11:38:50
this is my router
Harikrishnan5494 2021-05-21 11:39:06
Ok
2021-05-21 11:55:30
who can help me?
composer installation??
Im_gurlal 2021-05-21 12:10:26
You can download composer setup from official website of composer
AlaviMostafa 2021-05-21 12:15:11
hi
how can update foreach row data without reload page
my foreach

foreach($products as $product)
{{$product->id}}
{{$product->name}}
{{$product->price}}
endforeach

i need to update price row every 1 min without reload page

laravelamit 2021-05-21 12:18:40
I got this types of error please help me out
laravelamit 2021-05-21 12:18:50
cURL error 28: Failed to connect to 3.7.33.221 port 81: Timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: C:xampphtdocsmhn-hospital-msresourcesviewspagesindex.blade.php)
laravelamit 2021-05-21 12:21:25
laravel_discuss-82098.jpg

AlaviMostafa 2021-05-21 12:22:13
laravelamit 2021-05-21 12:18:50
cURL error 28: Failed to connect to 3.7.33.221 port 81: Timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: C:xampphtdocsmhn-hospital-msresourcesviewspagesindex.blade.php)

3.7.33.221:81 port is closed

AlaviMostafa 2021-05-21 12:22:36
port 81 on 3.7.33.221 in unreachable
|