Which one the best infyom or voyager?
anyone have a link or tutorial related to Lumen email verification?
did you need installation guidelines ?
how can I do that?
Ada yang tau caranya?
IT is right or wrong Mc Joanen ?
this is the code
Thanks in advance
class User extends Model {
…
protected $fillable = [
‘name’,
…
}
class Speaker extends User {}
php artisan migrate:refresh –seed
Seeding: SpeakerTableSeeder
<?php
use AppSpeaker;
use IlluminateDatabaseSeeder;
class SpeakerTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$speaker = new Speaker();
$speaker->name = ‘Speaker’;
$speaker->save();
}
}
IlluminateDatabaseQueryException
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘name’ in ‘field list’ (SQL: insert into speakers (`name`, updated_at, `created_at`) values (Speaker, 2020-04-08 12:36:32, 2020-04-08 12:36:32))
at C:xampphtdocscongressapivendorlaravelframeworksrcIlluminateDatabaseConnection.php:669
665| // If an exception occurs when attempting to run a query, we’ll format the error
666| // message to include the bindings with SQL, which will make this exception a
667| // lot more helpful to the developer instead of just the database’s errors.
668| catch (Exception $e) {
> 669| throw new QueryException(
670| $query, $this->prepareBindings($bindings), $e
671| );
672| }
673|
• A column was not found: You might have forgotten to run your migrations. You can run your migrations using php artisan migrate.
https://laravel.com/docs/master/migrations#running-migrations
1 C:xampphtdocscongressapivendorlaravelframeworksrcIlluminateDatabaseConnection.php:457
PDOException::(“SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘name’ in ‘field list'”)
2 C:xampphtdocscongressapivendorlaravelframeworksrcIlluminateDatabaseConnection.php:457
PDO::prepare(“insert into speakers (`name`, updated_at, `created_at`) values (?, ?, ?)”)
If your are a student and it’s your project my advise is to don’t do it on laravel. Laravel is just spoon feeding, everything will available on its own class files. It’s better if your start from scratch to learn.
Please go on with your project when you face any issues come here.
did you need installation guidelines ???

this is my db tables and i want to access to category name from user model through a profile model using a user id
MIX_MIX_SENTRY_DSN_PUBLIC=”${#cccccc}”
IlluminateDatabaseQueryException
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘name’ in ‘field list’ (SQL: insert into speakers (`name`, updated_at, `created_at`) values (Speaker, 2020-04-08 12:36:32, 2020-04-08 12:36:32))
at C:xampphtdocscongressapivendorlaravelframeworksrcIlluminateDatabaseConnection.php:669
665| // If an exception occurs when attempting to run a query, we’ll format the error
666| // message to include the bindings with SQL, which will make this exception a
667| // lot more helpful to the developer instead of just the database’s errors.
668| catch (Exception $e) {
> 669| throw new QueryException(
670| $query, $this->prepareBindings($bindings), $e
671| );
672| }
673|
• A column was not found: You might have forgotten to run your migrations. You can run your migrations using php artisan migrate.
https://laravel.com/docs/master/migrations#running-migrations
1 C:xampphtdocscongressapivendorlaravelframeworksrcIlluminateDatabaseConnection.php:457
PDOException::(“SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘name’ in ‘field list'”)
2 C:xampphtdocscongressapivendorlaravelframeworksrcIlluminateDatabaseConnection.php:457
PDO::prepare(“insert into speakers (`name`, updated_at, `created_at`) values (?, ?, ?)”)
Laravel use the name of the model to guess the table name.
this is the code
Thanks in advance
class User extends Model {
…
protected $fillable = [
‘name’,
…
}
class Speaker extends User {}
php artisan migrate:refresh –seed
Seeding: SpeakerTableSeeder
<?php
use AppSpeaker;
use IlluminateDatabaseSeeder;
class SpeakerTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$speaker = new Speaker();
$speaker->name = ‘Speaker’;
$speaker->save();
}
}
You must adding in migrations speaker table and don’t do this inherit here..
Or better than that, create relationship between users table with speakers table to be like this:
Users
(id, name, type)
Speakers
(id,user_id,…. More attributes)
…
And when need user to be speaker just make type of user speaker and add row to speakers table with new speaker data
Or better than that, create relationship between users table with speakers table to be like this:
Users
(id, name, type)
Speakers
(id,user_id,…. More attributes)
…
And when need user to be speaker just make type of user speaker and add row to speakers table with new speaker data
Ok i know that but what i wanted to use the extend model properties
I will do IT thanks

->join(‘TABLE_2 as candPar’, ‘alu.alu’, ‘=’, ‘candPar.alu’)
->join(‘TABLE_3 AS parc’, ‘parc.id’, ‘=’, ‘candPar.id’)
->join(‘TABLE_4 AS resp’, ‘alu.alu’, ‘=’, ‘resp.alu’)
->join(‘TABLE_5 AS quest’, ‘QUEST.qID’, ‘=’, ‘resp.qID’)
->join(‘TABLE_6 as questao’, ‘questao.idQuestao’, ‘=’, ‘resp.idQuestao’)
->join(‘TABLE_7 as turma’, ‘turma.alu’, ‘=’, ‘alu.alu’)
->leftJoin(‘TABLE_8 as disciplina’, ‘disciplina.qID’, ‘=’, ‘quest.qID’)
->join(‘TABLE_9 as curso’, ‘curso.idcurso’, ‘=’, ‘alu.idcurso’)
->leftJoin(‘TABLE_10 as nota’, function ($join) {
$join->on(‘nota.idQuestao’, ‘=’, ‘resp.idQuestao’)
->on(‘nota.qID’, ‘=’, ‘resp.qID’)
->on(‘nota.alu’, ‘=’, ‘resp.alu’);
As you would do the following.
I want to make a link to share and that it correctly counts the clicks with security of not doing multiclick, etc.

the showin error. please don’t even condamed me, we’r new coder. thanks




please i need u r help
can you try this code.:
$clients = DB::table(‘enterprise’)->get();
@foreach($clients as $client)
{{$client->id}} — {{$client->name}}
@endforeach