How can I add more than one product within the category, since there is a relationship between the product and the category?

|
2021-02-25 15:26:24
rmolives 2021-02-25 15:25:36
No you are not.

Ha ha, you guessed right, fool, I’m Chinese, aide tutorial net? I’m a local dog

2021-02-25 15:27:39
I’m from aide group. My nickname is local dog
2021-02-25 15:27:48
So it’s you guy
2021-02-25 15:27:58
local dog?
2021-02-25 15:28:12
2021-02-25 15:27:48
So it’s you guy

yes

2021-02-25 15:28:59
Then who is Li Hua ?
2021-02-25 15:29:20
I’m LiHua.
rmolives 2021-02-25 15:29:37
Still don’t discuss trivia….
2021-02-25 15:30:30
OK, let’s not talk about it. Let’s talk about technology
2021-02-25 15:32:54
In fact, I’m a future person. I came across in 2029
izatawwad19 2021-02-25 15:33:59
Hello ,
At first I am a beginner, and I need help.
How can I add more than one product within the category, since there is a relationship between the product and the category? I want that by using DatabaseSeeder.
izatawwad19 2021-02-25 15:35:55
can anyone help me
2021-02-25 15:36:29
Product id can be added in the data table of the category
Joice 2021-02-25 15:37:57
laravel_discuss-71624.jpg
What is meant by this error
Joice 2021-02-25 15:38:34
laravel_discuss-71625.jpg
Line 47 to 56 is my query
Pils36 2021-02-25 15:40:29
Joice 2021-02-25 15:37:57
What is meant by this error

Its ambiguous because you have not identified from what you joined, which id its picking

Pils36 2021-02-25 15:41:22
Lol.. you’re meanπŸ˜‚
2021-02-25 15:41:24
@Rattone Your avatar is really interesting
Joice 2021-02-25 15:42:23
Pils36 2021-02-25 15:40:29
Its ambiguous because you have not identified from what you joined, which id its picking

Please help i am a beginner

Joice 2021-02-25 15:42:34
I am not getting you
Joice 2021-02-25 15:42:47
Tried that
Joice 2021-02-25 15:42:58
Didnt know where i am making error
Joice 2021-02-25 15:43:08
Please help
Joice 2021-02-25 15:43:18
Sitting for hours for this error
Pils36 2021-02-25 15:44:26
Joice 2021-02-25 15:42:34
I am not getting you

Okay, send your query to me or just follow what @Rattone said

2021-02-25 15:44:32
It sounds hurtful
Pils36 2021-02-25 15:44:38
Either ways, you’ll get result, but Google would be the best
Joice 2021-02-25 15:44:38
Pils36 2021-02-25 15:44:26
Okay, send your query to me or just follow what @Rattone said

please help

Joice 2021-02-25 15:44:49
I will saend query
Joice 2021-02-25 15:45:19
laravel_discuss-71647.jpg

Pils36 2021-02-25 15:45:38
I tell youπŸ˜‚πŸ˜‚
2021-02-25 15:45:58
Nothing, my English is not very good, hahaha
rmolives 2021-02-25 15:47:42
Actually software translation
Joice 2021-02-25 15:47:46
Please tell me where i am making mistake
Pils36 2021-02-25 15:48:17
Joice 2021-02-25 15:45:19

In your select, identify what id you’re choosing, maybe orders.id as orderId, do you understand now?

|