Hi guys, any one can help me to solve a problem in PHP?

|
Kibeish 2020-12-04 13:39:12
Let me share my code
Kibeish 2020-12-04 13:40:24
laravel_discuss-61151.jpg

rebory 2020-12-04 13:42:19
use print screen btn in your keyboard
rebory 2020-12-04 13:42:35
why u used mobile camera?
Kibeish 2020-12-04 13:47:49
Sorry okay
rebory 2020-12-04 13:49:43
Kibeish 2020-12-04 13:40:24

public function register(Request $request)
{
//dd($request->input())

$user = new User();
$user->$request->name;
$user->$request->email;
$user->$request->gender;
$user->save();

}

rebory 2020-12-04 13:50:10
public function register(Request $request)
rebory 2020-12-04 13:50:30
check your function perameter R is lower
rebory 2020-12-04 13:51:11
rebory 2020-12-04 13:49:43
public function register(Request $request)
{
//dd($request->input())

$user = new User();
$user->$request->name;
$user->$request->email;
$user->$request->gender;
$user->save();

}

you are used laravel so do it easy

Kibeish 2020-12-04 13:52:20
rebory 2020-12-04 13:49:43
public function register(Request $request)
{
//dd($request->input())

$user = new User();
$user->$request->name;
$user->$request->email;
$user->$request->gender;
$user->save();

}

Writing the code I will share .

Kibeish 2020-12-04 13:54:00
rebory 2020-12-04 13:50:30
check your function perameter R is lower

Seen

rebory 2020-12-04 13:54:28
Kibeish 2020-12-04 13:54:00
Seen

https://www.studentstutorial.com/laravel/insert-data-laravel

How to insert data in database – Laravel frameworkStudentstutorial
How to insert data in database – Laravel framework – Learn how to insert data in database with complete source code and demo.
fireflies000 2020-12-04 14:29:37
I need someone who is good with laravel to install and place my project on to my vps server willing to pay in btc
Moses Ejim 2020-12-04 15:15:09
I am here sir
Moses Ejim 2020-12-04 15:15:21
I can help you
Manojkumar5408 2020-12-04 15:16:03
fireflies000 2020-12-04 14:29:37
I need someone who is good with laravel to install and place my project on to my vps server willing to pay in btc

I am doing brothers .!!! Already

officialmutisya 2020-12-04 15:16:32
Here to help. I have deployed countless projects the latest being pichaclick.co.ke on a VPS
natghi2010 2020-12-04 15:21:48
why does it take forever to create a new project?
natghi2010 2020-12-04 15:22:27
shouldn’t Laravel cache installations?
2020-12-04 15:26:53
How do you install using composer or laravel command
natghi2010 2020-12-04 15:27:43
laravel new project
natghi2010 2020-12-04 15:28:21
2020-12-04 15:26:53
How do you install using composer or laravel command

composer create-project –prefer-dist laravel/laravel project “6.*”, if im trying to specify a version

natghi2010 2020-12-04 15:28:40
both are slow
2020-12-04 15:32:55
Package manager always pick the package from internet and probably this is the reason why it is always slow
natghi2010 2020-12-04 15:39:00
2020-12-04 15:32:55
Package manager always pick the package from internet and probably this is the reason why it is always slow

is it possible to install it locally?

Kibeish 2020-12-04 15:42:45
2020-12-04 15:26:53
How do you install using composer or laravel command

Installation is not that bad.. configuring the directories to work? That’s some work

2020-12-04 15:52:26
natghi2010 2020-12-04 15:39:00
is it possible to install it locally?

I don’t know but there is one way which I used a lot

2020-12-04 15:54:33
I have a laravel project with name laravel-template.
Whenever I need any new project I just go there and copy the laravel-template project.
amirvalhalla 2020-12-04 16:01:30
natghi2010 2020-12-04 15:39:00
is it possible to install it locally?

Yeah for first time you have to install laravel globally on your system, please read documentation about it, then by below command
Laravel new newProject
You can make new project fastly, this globally install make your installation using cache of composer so it’s very fast, of course if you use composer version 2 it makes the installation faster

natghi2010 2020-12-04 16:02:07
amirvalhalla 2020-12-04 16:01:30
Yeah for first time you have to install laravel globally on your system, please read documentation about it, then by below command
Laravel new newProject
You can make new project fastly, this globally install make your installation using cache of composer so it’s very fast, of course if you use composer version 2 it makes the installation faster

I tried running that with composer.phar

natghi2010 2020-12-04 16:02:17
2020-12-04 15:54:33
I have a laravel project with name laravel-template.
Whenever I need any new project I just go there and copy the laravel-template project.

there are so many files

valenci007 2020-12-04 16:06:39
mortezagoodarzi1 2020-12-04 12:08:37
hi
i want use the nested relation with eloquent.
i want get the post with comment. i also get the comment with users.
how do i do this?

Do u have relationships

JeevaniSM 2020-12-04 16:29:22
hi guys, any one can help me to solve a problem in PHP ?this is not laravel, just PHP logic, I cannot spin my head around it 🙁 been to since last night 🙁
hypernxf 2020-12-04 16:36:34
What’s the problem?
JeevaniSM 2020-12-04 16:37:50
hypernxf 2020-12-04 16:36:34
What’s the problem?

may I PM you ?

|