← prev | next →
coddex 2019-12-10 11:06:36
NeutronStein 2019-12-10 02:44:07
Remove the line use
It will pop up another error
NeutronStein 2019-12-10 11:44:04
coddex 2019-12-10 11:06:36
It will pop up another error
That’s because you are missing various imports. That’s pretty obvious though
skys215 2019-12-10 13:17:26
Sorry, English group
Erfanhosseinpoor 2019-12-10 13:18:33
skys215 2019-12-10 13:17:26
Sorry, English group
Hello friends anyone use google translate for automatic translation into php code?
2019-12-10 13:42:11
godwar53 2019-12-10 04:09:31
hello sir, anyone has ever used yajra datatable?
yupp
godwar53 2019-12-10 14:03:58
How to use that with query builder?
LiceaPacheco 2019-12-10 14:25:18
godwar53 2019-12-10 04:09:31
hello sir, anyone has ever used yajra datatable?
Me
LiceaPacheco 2019-12-10 14:28:56
Just change the of for db ir a collection
LiceaPacheco 2019-12-10 14:29:09
And will work
godwar53 2019-12-10 14:37:01
LiceaPacheco 2019-12-10 14:28:56
Just change the of for db ir a collection
Already done
godwar53 2019-12-10 14:37:13
Must i used raw json?
LiceaPacheco 2019-12-10 14:37:28
Why
godwar53 2019-12-10 14:37:30
another people makes it like that, is it possible?
godwar53 2019-12-10 14:37:36
Like here
LiceaPacheco 2019-12-10 14:38:37
You dont have to return json
LiceaPacheco 2019-12-10 14:38:53
It’s automatic
LiceaPacheco 2019-12-10 14:39:07
That’s redundant
LiceaPacheco 2019-12-10 14:39:59
Why you dont use elequent model un order to make your query More readabble and flexible
LiceaPacheco 2019-12-10 14:40:25
Or you need much performance
LiceaPacheco 2019-12-10 14:41:25
Using with and scopes
godwar53 2019-12-10 15:33:14
LiceaPacheco 2019-12-10 14:39:59
Why you dont use elequent model un order to make your query More readabble and flexible
can you give me an example?
2019-12-10 15:59:33
https://www.youtube.com/playlist?list=PLLUtELdNs2ZZT3d9RQfgZLn6vbo5vbXCN
Make E-Commerce Website in Laravel 5.6 / 5.7 / 5.8 / 6.0 – YouTube –
YouTube
2019-12-10 15:59:46
☝️☝️ I highly recommend following this channel … it has a very detailed explanation of everything.
2019-12-10 16:00:26
palylists
basics Laravel 6
admin panel
ecommerce
etc. ..
LiceaPacheco 2019-12-10 16:00:55
godwar53 2019-12-10 15:33:14
can you give me an example?
Let a second
godwar53 2019-12-10 16:15:10
LiceaPacheco 2019-12-10 16:00:55
Let a second
oke sir, thanks before
faramarz_q 2019-12-10 17:25:46
Hi guys, for runing queues, in the laravel’s documemtation it says to use supervisor,
Would there be any problem if i run the commamd in the background and add it to the start up commands?
LiceaPacheco 2019-12-10 17:34:01
faramarz_q 2019-12-10 17:25:46
Hi guys, for runing queues, in the laravel’s documemtation it says to use supervisor,
Would there be any problem if i run the commamd in the background and add it to the start up commands?
Not, there Is not any problem
LiceaPacheco 2019-12-10 17:34:23
You can create an entrance in crontab
LiceaPacheco 2019-12-10 17:35:14
That run your PHP artisan queue:work
2019-12-10 18:23:07
Probably some configuration issue
2019-12-10 18:23:29
Crosscheck your mail configuratiom
DesolatorMagno 2019-12-10 21:32:58
AntarSidgi 2019-12-10 05:34:32
php , laravel 5.6
Go to the documentation for that specific version of Laravel, I think that in introduction part is where it say the minimum version, I think that is the 7.1.3 I THINK.
AntarSidgi 2019-12-10 21:35:30
DesolatorMagno 2019-12-10 21:32:58
Go to the documentation for that specific version of Laravel, I think that in introduction part is where it say the minimum version, I think that is the 7.1.3 I THINK.
my php version is 7.3
coddex 2019-12-10 22:04:37

Please someone should help me out. I’m trying to install Laravel on my pc buh this is what I am getting…
abdulmejidshemsu 2019-12-11 01:03:45
coddex 2019-12-10 22:04:37
Please someone should help me out. I’m trying to install Laravel on my pc buh this is what I am getting…
also u can install composer this way, since you are on windows it is better to first set the environmental variable of php,install the composer.exe and then install laravel
oxbir 2019-12-11 02:21:53
How to change value something table
oxbir 2019-12-11 02:22:18
I have a table role_user. This table have two fields to names role_id and user_id. And I want to after register a user, add a new row in role_user. role_id = 2.
User.php
public function role_user()
{
return $this->hasMany(RoleUser::class, ‘role_id’, ‘user_id’);
}
RegisterController.php
public function register(UserRequest $request)
{
$user = new User;
$user->first_name = $request->first_name;
$user->last_name = $request->last_name;
.
.
$user->role_user->role_id = 2;
$user->save();
}
It did not work.
DesolatorMagno 2019-12-11 02:25:18
oxbir 2019-12-11 02:22:18
I have a table role_user. This table have two fields to names role_id and user_id. And I want to after register a user, add a new row in role_user. role_id = 2.
User.php
public function role_user()
{
return $this->hasMany(RoleUser::class, ‘role_id’, ‘user_id’);
}
RegisterController.php
public function register(UserRequest $request)
{
$user = new User;
$user->first_name = $request->first_name;
$user->last_name = $request->last_name;
.
.
$user->role_user->role_id = 2;
$user->save();
}
It did not work.
check atach()
oxbir 2019-12-11 02:26:17
DesolatorMagno 2019-12-11 02:25:18
check atach()
complete code , please 🙏
DesolatorMagno 2019-12-11 02:27:35
in the documentation exist a very good explanation about
sync
attach
savemany
in the section of eloquent relationship.
oxbir 2019-12-11 02:28:18
How two use?/??
oxbir 2019-12-11 02:28:49
have you a anydesk?
godwar53 2019-12-11 02:29:54
LiceaPacheco 2019-12-10 16:00:55
Let a second
have you get an example, sir?
LiceaPacheco 2019-12-11 02:31:09
I Will to fine, when i get in home
godwar53 2019-12-11 03:33:43
LiceaPacheco 2019-12-11 02:31:09
I Will to fine, when i get in home
ok sir, safe drive
Khoerulhumam 2019-12-11 10:35:37
excuse me, how to make migration mysql to sql server ,what setting
andneeded for the PDO file to work,
Mhd_keramati 2019-12-11 10:35:39
Hi every body
How to show carbon in view
Mhd_keramati 2019-12-11 10:37:32
Who can help me?
skys215 2019-12-11 10:44:31
Mhd_keramati 2019-12-11 10:35:39
Hi every body
How to show carbon in view
Use format
← prev | next →