Do you have this installed separately?
Can anyone suggest me a good tutorial to setup dockerize laravel in my local system on windows?
Is the mysql workbench such the seqaul pro?
Is the mysql workbench such the phpmyadmin?
How to install php mailer for otp generating in larave?
you can use it inside a helper but, why do you need it?
Anyone can please help me with it ?
but I use windows not Mac
Do the datagrip working with Windows
Itβs very important FileπΉπΉ
I downloaded but not installed because I don’t found the install folder , because it downloaded such zip
Phpmyadmin is just an interface to talk with MySQL
You can use MySQL in command line
That’s not what should happened on requests check your code for semantic mistakes..
You can use MySQL in command line
Is the mysql workbench such the seqaul pro?
What is seqaul pro I don know π
It is special for Mac
I think such phpmyadin
Is the mysql workbench such the phpmyadmin?
users table
public function up()
{
Schema::create(‘users’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->string(‘name’);
$table->string(’email’)->unique();
$table->timestamp(’email_verified_at’)->nullable();
$table->string(‘password’);
$table->string(‘first_name’)->nullable();
$table->string(‘last_name’)->nullable();
$table->string(‘grade_id’)->nullable();
}
}
grades table
public function up()
{
Schema::create(‘grades’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->string(‘name’);
$table->timestamps();
});
}
I save id of grade with json_encode,
[![json][1]][1]
I save in field like this
$user->grade_id = json_encode($request->input(‘grade_id’));
I want to return the grade name but I did not solve my problem
Controller
public function index()
{
$grades = Grade::all();
return view(‘index’, compact(‘grades’);
}
User.php
public function grade()
{
return $this->belongsTo(Grade::class);
}
index.blade.php
@if(isset(auth()->user()->grade_id) && !empty(auth()->user()->grade_id))
<?php
$grade = json_decode(auth()->user()->grade->name, true);
@foreach($grade as $key=>$item)
<li>
<div class=”grade”>{{ $grade[$key] }}</div>
</li>
@endforeach
?>
@endif
I get this errpr
> Trying to get property of non-object
[1]: https://i.stack.imgur.com/HMkal.png
users table
public function up()
{
Schema::create(‘users’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->string(‘name’);
$table->string(’email’)->unique();
$table->timestamp(’email_verified_at’)->nullable();
$table->string(‘password’);
$table->string(‘first_name’)->nullable();
$table->string(‘last_name’)->nullable();
$table->string(‘grade_id’)->nullable();
}
}
grades table
public function up()
{
Schema::create(‘grades’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->string(‘name’);
$table->timestamps();
});
}
I save id of grade with json_encode,
[![json][1]][1]
I save in field like this
$user->grade_id = json_encode($request->input(‘grade_id’));
I want to return the grade name but I did not solve my problem
Controller
public function index()
{
$grades = Grade::all();
return view(‘index’, compact(‘grades’);
}
User.php
public function grade()
{
return $this->belongsTo(Grade::class);
}
index.blade.php
@if(isset(auth()->user()->grade_id) && !empty(auth()->user()->grade_id))
<?php
$grade = json_decode(auth()->user()->grade->name, true);
@foreach($grade as $key=>$item)
<li>
<div class=”grade”>{{ $grade[$key] }}</div>
</li>
@endforeach
?>
@endif
I get this errpr
> Trying to get property of non-object
[1]: https://i.stack.imgur.com/HMkal.png
If you want to save grades as json then don’t save it as foreign key in users tables.
In users tables you can use grade as json column which does as your expectations.
Note – I highly recommend you to use another table as ‘user_grades’ and then use grade_id and user_id as columns
SELECT * FROM edamahs WHERE id IN ( SELECT MAX(id) FROM edamahs GROUP BY industrial_id )

laravel loads from the public folder
so localhost is already public by default
so localhost is already public by default
yeah I also try it but doesn’t work

is it ok?
Got it solution..
Admin @carbonet77 @elisswi @Alfa_001 @Roham0010 Information @tech_hub91 @Siberfx @Php_laravel_mvc
I mean when I doing the command
>php artisan migrate
mean the codes for doing table I want see in mysql workbench
How?
Admin @carbonet77 @elisswi @Alfa_001 @Roham0010 Information @tech_hub91 @Siberfx @Php_laravel_mvc
I don’t known this
I am new in laravel
Admin @carbonet77 @elisswi @Alfa_001 @Roham0010 Information @tech_hub91 @Siberfx @Php_laravel_mvc
you can use it inside a helper but, why do you need it? laravel has his mailer inside which is working smooth, fast and with many built-in functions
how to connect between visual studio code and mysql workbench,
I mean when I doing the command
>php artisan migrate
mean the codes for doing table I want see in mysql workbench
How?
Anyone can please help me with it ?
I mean when I doing the command
>php artisan migrate
mean the codes for doing table I want see in mysql workbench
How?
you have to fill your credentials for the database in laravel’s root folder into “.env” file
Can anyone help me out
Great. Weldone
– Laravel Experience: 3+ year in Laravel framework
– Project Experience: completed at lease 3 backend projects, at least one project that handle 100k+ records
– Working Experience: require knowledge in workflow and inventory control
– Contract: 3-6 months
Please send CV to ongray@evolucent.net or PM for info
NOTE: don’t apply if you are not able to show your project experience
I am new in laravel
Okey
2fa?? Which one?