Please, how do I subtract columns from different tables in laravel?

|
YOUCODEWORLD 2021-08-13 13:56:32
MutalievUtkirbek 2021-08-13 13:52:54
this is the response of postman

Taka a pic your register route and controller.

MutalievUtkirbek 2021-08-13 13:57:04
MutalievUtkirbek 2021-08-13 13:51:50
hey guys i have a problem. the problem is that API should response like status: false

here it is

MutalievUtkirbek 2021-08-13 13:57:23
recently i added that part
Dev++ 2021-08-13 13:58:11
2021-08-13 13:48:20
Here is my blade template

Set url route

MutalievUtkirbek 2021-08-13 13:59:29
laravel_discuss-91475.jpg

YOUCODEWORLD 2021-08-13 13:59:31
MutalievUtkirbek 2021-08-13 13:57:23
recently i added that part

What you use authentecation ? laravel ui?

YOUCODEWORLD 2021-08-13 14:00:47
MutalievUtkirbek 2021-08-13 13:59:29

You taka a full register function please

MutalievUtkirbek 2021-08-13 14:01:24
YOUCODEWORLD 2021-08-13 13:59:31
What you use authentecation ? laravel ui?

public function register(Request $request, $error)
{
$validator = Validator::make($request->all(), [
‘name’ => ‘required|max:50’,
‘phone_number’ => ‘required|unique:users|min:9|max:12’,
]);

if ($validator->fails()) {
$message = $this->errorHandler(validator()->$error()->message());
$error=[“status”=>”false”, “error”=>[“message”=>$message]];
return response()->json($error);

}
$user = User::create($request->all());

$accessToken = $user->createToken(‘authToken’)->accessToken;

return response([ ‘user’ => $user, ‘access_token’ => $accessToken]);
}

public function errorHandler($error)
{

$error_message = [];
foreach ($error as $message) {
$error_message[] = $message[0];
return $error_message;
}
}

YOUCODEWORLD 2021-08-13 14:03:35
You take a Postman header please
YOUCODEWORLD 2021-08-13 14:04:12
laravel_discuss-91482.jpg

MutalievUtkirbek 2021-08-13 14:04:19
MutalievUtkirbek 2021-08-13 13:52:38

here it is

YOUCODEWORLD 2021-08-13 14:04:48
I want header and Params
YOUCODEWORLD 2021-08-13 14:05:00
NOT BODY!!!
sobirjonovs 2021-08-13 14:11:30
Hi bro) I guess he is not curious as you. Maybe he has not got responsibility)
YOUCODEWORLD 2021-08-13 14:35:09
sobirjonovs 2021-08-13 14:11:30
Hi bro) I guess he is not curious as you. Maybe he has not got responsibility)

πŸ˜€ so still issues

Daouda Traore 2021-08-13 16:20:43
hi I am a new member
Daouda Traore 2021-08-13 16:21:39
I would like know how to install sweetalert2 on project laravel
jcasique_torres 2021-08-13 16:47:16
Daouda Traore 2021-08-13 16:20:43
hi I am a new member

Use CDN

jcasique_torres 2021-08-13 16:47:53
<script src=”//cdn.jsdelivr.net/npm/sweetalert2@11″></script> put this on you blade template
Silambarasan Raju 2021-08-13 17:40:48
EI 2021-08-12 18:45:27
Please, how does one prevent duplicate entry in Laravel without showing an error after making that field unique to check for duplicate, but rather, it will still be on that same page but no record will be saved since it is a duplicate.

unique()

Silambarasan Raju 2021-08-13 17:42:41
2021-08-13 13:46:29
Hey everyone.. When i try to submit details in my contact form..it just releases the messages like the name is required, the email is required and the like…Can someone tell me why..?

Your value not passing from form to db.

Check names, request passing method, input(), db field name

As my point of viee

shinejemi 2021-08-13 17:45:59
Any laravel developer here?
DM me I got a work
laravelamit 2021-08-13 18:30:27
I need register form with jQuery validation anyone have
2021-08-13 18:53:39
Full stack developer looking for change can connect with me.
Backend Laravel, Lumen
Frontend angular react and vue (any of it)
Location: Pan India
sanjaymaurya201 2021-08-13 19:34:03
Hi guys
I am looking for part time work on laravel and yii2 framework
Anyone have a job?
Daily 5 hours
Very cheap rate
Saicharandgp 2021-08-13 20:07:00
Hi all
How to use terminable middleware for sending notification from database notifications table to front end
subashnag 2021-08-13 21:12:59
We are looking for a PHP Developer/Laravel Developer with the capability to develop a fully responsive web portal (both backend and frontend). He/She must have proficiency in the development and maintenance of the website. Good leadership skills to work cohesively in the team and also manage end delivery.
Required Skills
β€’ BE/B Tech/MCA with thorough understanding and experience of Software Engineering concepts.
β€’ Minimum 2 years of hands-on experience in PHP Web framework and interface development, preferably Laravel.
β€’ Good knowledge of Core & Advanced PHP frameworks and Design Patterns.
β€’ Solid understanding of MySQL Database.
β€’ Solid understanding of HTML5, CSS, Javascript and JQuery.
β€’ Experience of consuming third-party API such as Twitter, Facebook, Google maps, Instagram, etc.
β€’ Basic communication etiquette.
β€’ Basic understanding of English and Hindi.
β€’ Should be interested in IT Industry.
*
β€’ Job Responsibilities
β€’ The candidate should be able to develop a fully responsive web portal (both backend and frontend).
β€’ Competent in developing and consuming backend Rest API.
β€’ Should be comfortable working with bootstrap four and must be able to handle server management.
β€’ The candidate will be working in all stages of product development starting from requirement analysis, a feasibility check, Development & Database Optimization, Testing & Maintenance.
β€’ Should be comfortable working alone, and with the team.
β€’ Should be able to relocate internationally for on-site opportunities (if required).
β€’ Good understanding of complete Web Development life cycle.
β€’ Conceptual knowledge of automated testing, HTTP Protocol, JSON and XML.
β€’ Knowledge of code versioning tools, such as Git.
β€’ Open to work in start-up culture with pressure-handling capabilities.
β€’ Role – PHP Laravel Developer
natghi2010 2021-08-13 21:27:02
subashnag 2021-08-13 21:12:59
We are looking for a PHP Developer/Laravel Developer with the capability to develop a fully responsive web portal (both backend and frontend). He/She must have proficiency in the development and maintenance of the website. Good leadership skills to work cohesively in the team and also manage end delivery.
Required Skills
β€’ BE/B Tech/MCA with thorough understanding and experience of Software Engineering concepts.
β€’ Minimum 2 years of hands-on experience in PHP Web framework and interface development, preferably Laravel.
β€’ Good knowledge of Core & Advanced PHP frameworks and Design Patterns.
β€’ Solid understanding of MySQL Database.
β€’ Solid understanding of HTML5, CSS, Javascript and JQuery.
β€’ Experience of consuming third-party API such as Twitter, Facebook, Google maps, Instagram, etc.
β€’ Basic communication etiquette.
β€’ Basic understanding of English and Hindi.
β€’ Should be interested in IT Industry.
*
β€’ Job Responsibilities
β€’ The candidate should be able to develop a fully responsive web portal (both backend and frontend).
β€’ Competent in developing and consuming backend Rest API.
β€’ Should be comfortable working with bootstrap four and must be able to handle server management.
β€’ The candidate will be working in all stages of product development starting from requirement analysis, a feasibility check, Development & Database Optimization, Testing & Maintenance.
β€’ Should be comfortable working alone, and with the team.
β€’ Should be able to relocate internationally for on-site opportunities (if required).
β€’ Good understanding of complete Web Development life cycle.
β€’ Conceptual knowledge of automated testing, HTTP Protocol, JSON and XML.
β€’ Knowledge of code versioning tools, such as Git.
β€’ Open to work in start-up culture with pressure-handling capabilities.
β€’ Role – PHP Laravel Developer

how much will you pay is the question

2021-08-13 21:36:22
subashnag 2021-08-13 21:12:59
We are looking for a PHP Developer/Laravel Developer with the capability to develop a fully responsive web portal (both backend and frontend). He/She must have proficiency in the development and maintenance of the website. Good leadership skills to work cohesively in the team and also manage end delivery.
Required Skills
β€’ BE/B Tech/MCA with thorough understanding and experience of Software Engineering concepts.
β€’ Minimum 2 years of hands-on experience in PHP Web framework and interface development, preferably Laravel.
β€’ Good knowledge of Core & Advanced PHP frameworks and Design Patterns.
β€’ Solid understanding of MySQL Database.
β€’ Solid understanding of HTML5, CSS, Javascript and JQuery.
β€’ Experience of consuming third-party API such as Twitter, Facebook, Google maps, Instagram, etc.
β€’ Basic communication etiquette.
β€’ Basic understanding of English and Hindi.
β€’ Should be interested in IT Industry.
*
β€’ Job Responsibilities
β€’ The candidate should be able to develop a fully responsive web portal (both backend and frontend).
β€’ Competent in developing and consuming backend Rest API.
β€’ Should be comfortable working with bootstrap four and must be able to handle server management.
β€’ The candidate will be working in all stages of product development starting from requirement analysis, a feasibility check, Development & Database Optimization, Testing & Maintenance.
β€’ Should be comfortable working alone, and with the team.
β€’ Should be able to relocate internationally for on-site opportunities (if required).
β€’ Good understanding of complete Web Development life cycle.
β€’ Conceptual knowledge of automated testing, HTTP Protocol, JSON and XML.
β€’ Knowledge of code versioning tools, such as Git.
β€’ Open to work in start-up culture with pressure-handling capabilities.
β€’ Role – PHP Laravel Developer

YessπŸ™ŒπŸ™Œ

EI 2021-08-14 02:14:58
Please, how do I subtract columns from different tables in laravel?
2021-08-14 08:26:39
laravel_discuss-91534.jpg
Guy how to solve this , I’m new to php
2021-08-14 08:27:54
I’m getting this error
omar khaled 2021-08-14 08:45:41
laravel_discuss-91536.jpg
what’s the problem
venkataadithan 2021-08-14 08:45:50
Check the filinfo extension is enabled or not
venkataadithan 2021-08-14 08:50:20
omar khaled 2021-08-14 08:45:41
what’s the problem

try giving laravel/laravel project “^7.3” instead of laravellaravel:^7.3

|