Goodnight friends.
I have a problem with the laravel framework and I can not manage to perform a simple task.
When I write in an input I automatically send via AJAX by POST the value of the input to filter my table of users.
$("#cedula")...
You see, I have an Animal table:
Schema::create('animals',function(Blueprint $table){
$table->increments('id');
$table->string('nombre');
$table->string('cientifico');
$table->string('tipo');...
Create the url waiting for the image but in the request I do not get something that I can read.
View:
<div class="row" id="form38">
<div class="col">
<textarea class="s...
Good afternoon I'm using laravel 5.6, and I'm trying to consume a SOAP-like webservice (wsdl), but when I try to consume it, he replies:
SOAP-ERROR: Parsing WSDL: Couldn't load from
http://www.loswebservice.com.bo:5000/WebServicesConsulta/Con...
I need to optimize this in the model
public function getPointStatsByUserId($id){
return array(
'total_win' => Trade::where('point' , '>', '0')
->where('user_id' , $id)
->sum('point'),
'to...
How can I get the data of another user, which is referenced from the same user model in Laravel?
Keeping in mind that user has these columns in their migration:
Schema::create('users', function (Blueprint $table) {
$table->increm...
I have a procedure stored in mysql that returns 3 tables, but when invoking it with laravel it only shows me the contents of the first table.
route::get('/prueba/{id}','Emergencia\AsistenciaMedicaController@prueba');
...
I have a query when configuring the virtual host with a laravel project every time I put localhost redirects me to the laravel project, and if I wanted to change to another one that is in my folder htdocs does not allow me and I wanted to know i...
You see, I have the following tables:
Schema::create('empresas', function (Blueprint $table){
$table->increments('id');
$table->string('nombre');
$table->timestamps();
});
Schema::create('coches', func...