Guy do you know how can I have multiple codition for where in laravel?

|
FairInaction 2020-08-31 07:56:58
a_anj 2020-08-30 17:13:50
Will it log into Laravel storage/laravel.log file?

No, it’ll log to file you mentioned in general_log_file. Please note logging will be done by MySQL and not laravel

Titus Jusu Nabieu 2020-08-31 09:08:06
Hay can someone join me to a vue js group
2020-08-31 10:46:01
laravel_discuss-49351.jpg
I am stuck on this error which is found in gostock theme.
2020-08-31 10:46:47
2020-08-31 10:46:01
I am stuck on this error which is found in gostock theme.

Please anyone. Please help to solve it.

fullstackdev2018 2020-08-31 11:52:45
I am a full stack web developer.
I want to use your upwork account.
I’d like to discuss it in detail.
2020-08-31 14:09:35
OkπŸ‘
cayetanohosma 2020-08-31 14:17:18
Which language is it?
2020-08-31 14:18:55
laravel_discuss-49374.jpg
I shared image controller link
Mr_Classy 2020-08-31 15:59:21
Hello gyzz need help.
Mr_Classy 2020-08-31 15:59:59
How can I two tables in fetch one row ?? In laravel form
Mr_Classy 2020-08-31 16:01:03
Anyone here ?
Mr_Classy 2020-08-31 16:01:14
So plzz help me….
cayetanohosma 2020-08-31 16:37:20
Where did you declare that route? in routes/api.php or routes/web.php?
cayetanohosma 2020-08-31 16:46:32
You must move them to routes/api.php that is the appropriate file to declare the API routes. That has associated several middlewares that let to communicate.
cayetanohosma 2020-08-31 16:46:53
The error is because the web routes requeire the CRSF to post to a route
cayetanohosma 2020-08-31 16:47:04
Move them and try again
2020-08-31 20:23:32
How can update multple data with foreign key
2020-08-31 20:23:51
Anyone is there
cayetanohosma 2020-09-01 01:11:26
Why did you get if print $json?
Siberfx 2020-09-01 05:41:39
if you are sending post request from external url, usually you can go into verifycsrf middleware and add the route of the api for excluding csrf token verification and you are done. :))
rethdaro 2020-09-01 07:23:03
laravel_discuss-49403.jpg
Hello, how we can get value from ajax (assets_type_id) to match with $asset->id to make selected as picture above
rethdaro 2020-09-01 07:23:04
laravel_discuss-49404.jpg

eL7alfa 2020-09-01 08:43:48
What u wanna do?
bacoa 2020-09-01 08:57:50
Hi guys, Is there a way to connect two models through relationships without having to go through others to get there?
A-> B-> C-> D

just do directly A-> D but implicitly include the relations B and C in the model A, is it possible?

Mohammad_Agbareya 2020-09-01 09:38:27
rethdaro 2020-09-01 07:23:03
Hello, how we can get value from ajax (assets_type_id) to match with $asset->id to make selected as picture above

v-model (vuejs) on select tag

rethdaro 2020-09-01 09:39:40
Mohammad_Agbareya 2020-09-01 09:38:27
v-model (vuejs) on select tag

We not use vuejs in this task….

the_peace_lover 2020-09-01 10:02:54
re-display select option after ajax call using jquery
harryr891 2020-09-01 10:13:24
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
β€’
Jadidi_82 2020-09-01 12:33:26
laravel_discuss-49416.jpg
Hello guy do you know how can I have multiple codition for where in laravel?
Jadidi_82 2020-09-01 12:40:56
I want to add this condition too : ‘user_id’ = Auth->user()->id
Jadidi_82 2020-09-01 12:41:57
but I dont how to put this condition.
Marwa Abdulmoniem 2020-09-01 12:44:32
Hi guys
I want to convert the site to api on laravel.
I put the routes code from Web to api and it didn’t work.
Is there anything else I should do before converting to routes /api. php
the_peace_lover 2020-09-01 13:00:12
Jadidi_82 2020-09-01 12:40:56
I want to add this condition too : ‘user_id’ = Auth->user()->id

DB::table(‘user_to_basket’)->where(‘basket_id’,$basket_id)->where(‘user_id’,Auth::id())->delete();

Harpreet Kaur 2020-09-01 13:21:33
Any laravel developer here who is currently looking any good opportunity…
satish9323 2020-09-01 13:21:57
Location
Harpreet Kaur 2020-09-01 13:21:58
Ping me
Jadidi_82 2020-09-01 13:26:25
the_peace_lover 2020-09-01 13:00:12
DB::table(‘user_to_basket’)->where(‘basket_id’,$basket_id)->where(‘user_id’,Auth::id())->delete();

thanks a lot my problem solved with your help.

SUMIT PATEL 2020-09-01 15:10:12
Hello,

Hope you are well,

We are currently hiring for Laravel Developer 4+ Years Experience Ashram Road Ahmadabad Location ,

just wanted to know if you are interested to apply the same.

If you are interested in this position send me your updated on my whatsapp number 9510775530

Thanks Regard
Sumit Patel

fsalesb 2020-09-01 17:32:58
good morning guys, i live in brazil, it is a pleasure to join the group
marchand2sable 2020-09-01 17:50:46
Hello please can i have a source code for a blog system built in laravel ? It’s important please πŸ™πŸΎπŸ™πŸΎπŸ™πŸΎ
fsalesb 2020-09-01 17:59:26
I believe so
fsalesb 2020-09-01 18:00:04
you construction blog in laravel ?
bee_amour 2020-09-01 18:21:45
monu 2020-08-30 07:41:18
Hi i need help
i have created a register api in laravel when i submitted same email then laravel send me a message
{“message”:”The given data was invalid.”,”errors”:{“email”:[“email is already exist”]}}

but i want to change this error format . i want {“message”: “email is already exist”, ‘status’:false}

then trunicte dtaabase table

bee_amour 2020-09-01 18:22:03
or remove unique in table feild
bee_amour 2020-09-01 18:22:14
your ssue is clear?
bee_amour 2020-09-01 18:22:25
SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘user_id’ cannot be null (SQL: insert into hall_person (`hall_name`, address, mobile, state, city, area, latitude, longitude, pin_code, `user_id`) values (vaseen, 123456, 9493103268, telangana, warangal, hyderabad, 785412, 856923, 123333, ?))”,
“exception”: “Illuminate\Database\QueryException
bee_amour 2020-09-01 18:22:42
when i update auth user data then i will get this error
bee_amour 2020-09-01 18:23:04
please find y code
bee_amour 2020-09-01 18:23:53
protected $guard =’halls’;

protected $table=”hall_person”;
protected $primaryKey = “id”;
public $incrementing = true;
protected $fillable =[‘user_id’,
‘hall_name’,
‘address’,
here is controller store function $id =Auth::Id();
$product=hall_person::create([
‘hall_name’=>$request->hall_name,
‘address’=>$request->address,
‘mobile’=>$request->mobile,
‘state’=>$request->state,
‘city’=>$request->city,
‘area’=>$request->area,
‘latitude’=>$request->latitude,
‘longitude’=>$request->longitude,
‘pin_code’=>$request->pin_code,
‘user_id’=>Auth::id(),

DesolatorMagno 2020-09-01 18:26:51
You said update and here is create.
|