Posts by Emilio Dami Silva • 113 points
18 posts
-
0
votes1
answer180
viewsA: Laravel-echo-server, Laravel Echo, Redis, Socket.io shows nothing in browser
I do not know if it is a bug or incompatibility between Laravel-echo and Socket.io but when I downgrading the socket.io-client from version 3.0.3 to 2.3.0 everything worked out perfectly. I had…
-
0
votes1
answer180
viewsQ: Laravel-echo-server, Laravel Echo, Redis, Socket.io shows nothing in browser
I’ve set up Laravel Echo, Laravel-echo-server, Radis, Socket.io I’m already three weeks into trying and reading every problem posted here on the stack overflow And the documentation I found on…
-
0
votes1
answer68
viewsQ: Name a given id field inside a @foreach
<?php counter = 0 ?> @foreach($buildings as $building) <?php $var1 = counter; $counter = counter + 1; ?> <input type="checkbox" id="campo{{counter}}"…
-
0
votes1
answer47
viewsQ: How do I declare a arrray in Ionic and use?
export class StarterorderPage implements OnInit { $orders: [ { id: number, description: string } ]; constructor( public http: HttpClient, private route: ActivatedRoute) { } ngOnInit() { }…
-
0
votes1
answer41
viewsQ: Sending EMAIL in IONIC/angular generates an error Cannot read Property 'then' of Undefined, anyone know why?
home.page.html <ion-icon name="Send" size="small"></ion-icon> <button ion-button icon-only (click) ="sendEmail()"> Send Email </button> home.pagets. sendEmail() {…
ionicasked Emilio Dami Silva 113 -
0
votes0
answers87
viewsQ: How to take the value of the variable within a Function in IONIC?
getListTodayOrders(): InterfaceOrders { const url = 'http://oneqbackend.herokuapp.com/api/listas'; this.http.get(url).subscribe((data: InterfaceOrders) => { this.data_return = data; console.log('…
-
1
votes1
answer45
viewsQ: Why can’t I recover the amount of record that corresponds to the date range?
$quantidade_week = DB::table('serviceorders') ->where('serviceorders.status_serviceorders', '=', 'OPENED') ->WhereDate('serviceorders.date_started_serviceorders', '>=', $firstDayOfInterval)…
-
0
votes1
answer63
viewsQ: How can I recover the value of a variable sent per myVar date and use in the checkbox?
index.blade.php <table> @foreach($masters as $master) <tr> <td>{{$master->receive_email_neworder_masters}}</td> <td> <button class="btn btn-info" data-my_table =…
-
0
votes1
answer42
viewsA: How do I get the id of after the select?
Wow! After two days I discovered the mistake... only in my original form had a comma left. The Code is correct and $users->Pluck('id') is the code I need in the role! Thanks to all those who…
-
0
votes1
answer42
viewsQ: How do I get the id of after the select?
user selects a user by name, I need to find out which id is chosen. Thanks guys, I’m new to Laravel! How I get the value of users->id? {!! Form::select( 'id_users', $users->pluck('name'),…
-
1
votes1
answer292
viewsQ: Laravel informs that the page was not found: 404 on the master/test route
How to make this update work? Below page code. Form_edit.php <form role="form"> <div class="box-body"> <div class="form-group"> <label>Name</label> <input…
-
-1
votes2
answers216
viewsQ: Use array type variable that returns the ajax function in PHP?
I have to pick up a variable type array of ajax and is returning correctly to the console.log(date); but I’m not sure how to use the return variable inside the index.php file. Index.php…
-
0
votes2
answers105
viewsQ: $_post returns empty, tried everything, guys. Please help me
I have this problem and can not solve, the form is correct but when the user clicks the save button, the save.php file is triggered normally, but loses the contents of $_POST.... Help me! index.php…
-
2
votes2
answers742
viewsQ: How to delete the last row from the table?
<table class="table"> <thead> <tr> <th>#</th> <th>Id.</th> <th>Descrição</th> <th>Qtd.</th> <th>Unitário</th>…
-
0
votes1
answer23
viewsQ: Button not activating function in Javascript
The close button works perfectly while the send button does not trigger the routine in any way. $("#incluirItensNoGrid").on('click', function(){ alert("Hello World!"); }); <script…
-
1
votes2
answers177
viewsQ: How to add a column at page run time?
In Html5/css/bootstrap 4... How can I add a column at page run time? div class="container"> <h1 class="page-header">Tabelas com Bootstrap</h1> <div class="table-responsive">…
-
-1
votes1
answer53
viewsQ: I want the result of a query and SQL is simple...in PHP is confusing
I just want the result of one SELECT in php and I don’t know how to catch the result: $descricao = mysqli_query($this->conexao, "Select descricao from tabela where codigo = 1"); var_dump…
-
2
votes1
answer47
viewsQ: When I click on the tag reference id it does not call the page I want
I can’t make it work at all...! <script> document.getElementById("ClicouNaTag").addEventListener( "click",function() { window.location.href = "vaiparaessapagina.php"; } ); </script>…