Can I write here to have your help?

|
StupidTwat 2020-05-01 18:19:08
Prakash D 2020-05-01 17:44:39
Anyone know how to pass data from view to controller and fetch data from database

Via request then handle database with eloquent. Check documentation for both of these

Gabby_Json 2020-05-01 18:26:54
StupidTwat 2020-05-01 18:18:30
That won’t help at all nor does it answer question. You have to handle the request.

Yeah. He should create the store(request $request, $id) in his controller

DesolatorMagno 2020-05-01 18:28:04
Prakash D 2020-05-01 17:44:39
Anyone know how to pass data from view to controller and fetch data from database

If you want to pass data from view to controller and get info back you can work with JS and use Ajax to get the response.

StupidTwat 2020-05-01 18:40:17
Or just use laravels request.
StupidTwat 2020-05-01 18:40:57
https://laravel.com/docs/7.x/requests
Dhana 2020-05-01 19:28:00
What is 302 code error laravel login…
Sumanta_mukhopadhyay 2020-05-01 19:50:55
https://stackoverflow.com/questions/61546808/why-web-vtt-styles-are-not-working-in-mac-os?noredirect=1#comment108870547_61546808
Sumanta_mukhopadhyay 2020-05-01 19:51:02
check this if anyone can answer
Sujay 2020-05-01 20:39:28
Dhana 2020-05-01 19:28:00
What is 302 code error laravel login…

When validations are failed and redirect back to another page, that page we will called as 302 error page.

username0637 2020-05-01 21:34:23
hello there!

help me please, guys =)

i have tables “projects”, “users”, “user_projects”

in my model User i hane a relation “projects”

==============================================================
class User extends Authenticatable{
….
public function projects()
{

return $this->belongsToMany(Project::class, ‘user_projects’);

}
==============================================================

everything is fine, when i have the connection between user and project, but in my app i have users with SUPERADMIN role, and these users doesn’t have that kind on relation, but i still need to get relations for ALL projects in my app for SUPERADMIN users

then i call method “projects” for my SUPERADMIN user i want to get list of all projects in my “projects” table

can i do it using relation method “projects” in my User model?

thank you

Zouhair_ettarak 2020-05-01 21:56:52
How can I get number of record using Laravel and vuejs
Zouhair_ettarak 2020-05-01 21:57:08
Can you give me some exemple
DesolatorMagno 2020-05-01 21:57:10
You can validate if the role is super admin, if true return all the projects, if false return the projects from relation
DesolatorMagno 2020-05-01 21:57:23
User::count()
username0637 2020-05-01 21:59:26
DesolatorMagno 2020-05-01 21:57:10
You can validate if the role is super admin, if true return all the projects, if false return the projects from relation

I can’t do this in my relation method, bcz that method should return relation, not collection of all models

DesolatorMagno 2020-05-01 21:59:51
I didn’t say to do it inside the method, read again.
username0637 2020-05-01 22:01:47
DesolatorMagno 2020-05-01 21:57:10
You can validate if the role is super admin, if true return all the projects, if false return the projects from relation

oh, but i’m trying do it exactly in the method =) of course i know i can use some another method to do this

DesolatorMagno 2020-05-01 22:03:01
create a method called GetProjects() and make it do what you need.
harryr891 2020-05-01 22:03:32
I have approx 7 years experience in Laravel, Dotnet Core MVC, Core PHP,
Angulas JS, WordPress, Magento, Shopify, Big Commerce, Nodejs , Opencart,
payment Gateway Integration,Mobile API Development and Hybrid App Development Using Ionic and Framework 7WordPress + Responsive
• http://www.westlaneinteriors.com.au/
• http://www.eastcoastair.com.au/
• http://www.stonycreekhomes.com/
• http://totalfacegroup.com.au/

Inner West Air Conditioning Specialists | East Coast Air!East Cost Air
East Coast Air is your trusted Air Conditioning specialists in the Sydney Inner West. We repair & install ducted and split system air conditioners.
hiteshv253 2020-05-01 22:06:43
harryr891 2020-05-01 22:03:32
I have approx 7 years experience in Laravel, Dotnet Core MVC, Core PHP,
Angulas JS, WordPress, Magento, Shopify, Big Commerce, Nodejs , Opencart,
payment Gateway Integration,Mobile API Development and Hybrid App Development Using Ionic and Framework 7WordPress + Responsive
• http://www.westlaneinteriors.com.au/
• http://www.eastcoastair.com.au/
• http://www.stonycreekhomes.com/
• http://totalfacegroup.com.au/

nice

Dhana 2020-05-01 22:40:40
Sujay 2020-05-01 20:39:28
When validations are failed and redirect back to another page, that page we will called as 302 error page.

Thanks bro..How to resolve this one…

يمني بغبارة 2020-05-01 23:52:47
Hi
How can I add css file to my project
StupidTwat 2020-05-01 23:53:09
I have approx 11 years experience in Laravel, Dotnet Core MVC, Core PHP,
Angulas JS, WordPress, Magento, Shopify, Big Commerce, Nodejs , Opencart,
payment Gateway Integration,Mobile API Development and Hybrid App Development Using Ionic and Framework 7WordPress + Responsive
• http://www.westlaneinteriors.com.au/
• http://www.eastcoastair.com.au/
• http://www.stonycreekhomes.com/
• http://totalfacegroup.com.au/

Inner West Air Conditioning Specialists | East Coast Air!East Cost Air
East Coast Air is your trusted Air Conditioning specialists in the Sydney Inner West. We repair & install ducted and split system air conditioners.
StupidTwat 2020-05-01 23:53:23
يمني بغبارة 2020-05-01 23:52:47
Hi
How can I add css file to my project

Public folder

Dreamer512 2020-05-01 23:59:49
Anybody to help me install laravel vallet on windows
isofdev 2020-05-02 00:13:15
Dreamer512 2020-05-01 23:59:49
Anybody to help me install laravel vallet on windows

You can install valet with composer by this command : composer global require laravel/valet.

imran_khai 2020-05-02 07:41:51
Hi, i have a question abt laravel documentation
imran_khai 2020-05-02 07:44:21
laravel_discuss-35634.jpg
What is the use case of photos.profile and person.*.email. Right now i already implement person.* to validate all array input by using loop in view and name=”person[ ]” and it works. But I dont get the other 2 examples
imran_khai 2020-05-02 07:46:08
I will be glad if anyone can clear this up for me. Thanks!
codewithah 2020-05-02 08:10:48
Hello. I have very bad problem. I spend 12 H to solve this problem but I couldn’t
My problem is I am inside Laravel Homestead and I want use this command to listen all of queue. My command is: php artisan queue:listen.The funny thing is when I use when I use this command inside CMD everything is OK.but when I use this command inside git terminal in Laravel Homestead window a lot of events will run. So many queue will be run. (This mean a lot of events will redirect to queue)
imran_khai 2020-05-02 08:12:18
imran_khai 2020-05-02 07:44:21
What is the use case of photos.profile and person.*.email. Right now i already implement person.* to validate all array input by using loop in view and name=”person[ ]” and it works. But I dont get the other 2 examples

What is the example to write in view the foreach loop and name=” ” to get a request like photos[profile]?

Relaxed Guy 2020-05-02 09:11:21
Guys…..has anyone worked with OTP authentication with email and storing the OTP in a session
2020-05-02 09:30:04
Projects in Laravel: Learn Laravel Building 10 Projects
part1
@UdemyDownload
2020-05-02 09:30:41
Guys who knows this course password
2020-05-02 09:31:00
It is asking for password
ManojRoy19 2020-05-02 09:32:33
Password is @UdemyDownload
2020-05-02 09:33:27
ManojRoy19 2020-05-02 09:32:33
Password is @UdemyDownload

Ohh thank you so much bro

sahilbalgotra 2020-05-02 10:16:00
Hi need solution on paypal payment gate way when i am paying saying we are sorry cannot accept payment in your currency solution
Dhana 2020-05-02 12:16:14
laravel_discuss-35648.jpg
Trying to send email using Gmail…but throws👆
luca89ct 2020-05-02 12:28:09
Hi to everyone! I’m Luca and I’m writing from Italy!
luca89ct 2020-05-02 12:30:32
Can I write here to have your help?
luca89ct 2020-05-02 12:41:28
laravel_discuss-35652.jpg
I have some doubts on polymorphic relationship. I have the schema attached where document can be connected to sectors if ‘senderable_type’ is Sector or, to addresses if is Address. Base on value get from a form, I know if it is connected to a Sector or to an Address, getting its ID. But…how to do this? Can you help me please? Each document can be linked to one sector or to one address. Is it possible to use Polymorphic for this use?
FlyMeSyndrom 2020-05-02 13:29:25
Dhana 2020-05-02 12:16:14
Trying to send email using Gmail…but throws👆

try use mailtrap.io

Dhana 2020-05-02 14:50:22
FlyMeSyndrom 2020-05-02 13:29:25
try use mailtrap.io

Using mailtral also got expected response code 250 got 530 authentication required

FlyMeSyndrom 2020-05-02 14:51:28
Dhana 2020-05-02 14:50:22
Using mailtral also got expected response code 250 got 530 authentication required

maybe port ..

Dhana 2020-05-02 14:52:52
Tried port like 567 ,465,2525
2020-05-02 15:02:34
laravel_discuss-35662.jpg

2020-05-02 15:02:34
laravel_discuss-35661.jpg

2020-05-02 15:02:34
laravel_discuss-35660.jpg

2020-05-02 15:02:34
laravel_discuss-35659.jpg
how i can fix this error
|