I was looking at some code to test PHP 7.1 and found the following snippet:
function doLoop(iterable $iterable) {
foreach ($iterable as $value) {
echo $value;
}
}
$data = [1, 2, 3, 4];
doLoop($data);
With iterable I...
I have a problem with a module that used to work correctly in PHP version 5.6.
After upgrading PHP from server to 7.1 it crashed due to some functions that were previously present in PHP 5.6 and no longer exist from version 7.1.
When I try...
I'm trying to perform insert operation on oracle by Laravel (5.6), but it's giving error:
The method I make the insert is this:
public function salvar( Request $request ){
$agenda = new Agenda();
$agenda->dt_agenda = $req...
I would like to do a multi upload with various img formats, I am researching how it does using php 7.1, I understood more or less the business logic.
I just can not reproduce.
Can anyone give me a hand or link with a correct multi-upload appl...
I'm trying to upload with multiple files, however the request is sending a string: [object FileList]
<file
class="btn btn-default"
name="fotos_empreendimento"
accept=".jpeg,.png,.gif"
ng-model="vm.model.fotos_empreendimento"...
Hello, I'm having problems with two subdomains, I checked the tail I found this error:
2018/06/15 13:02:11 [error] 13456 # 13456: * 807 connect () to unix: /var/run/php7.1-fpm-esf.sock failed (11: Resource temporarily unavailable) while connecti...
Hello, I'm trying to understand some of the PHP documentation and I'm not getting it. I want to understand the part that talks about comparing with various types.
See more at this link: link in the comparison with various types , I do not...
How do I get the two records with the highest view of each category? I have 7 categories and would like to get the two items with the highest views of each of those 7 categories.
What I would like is the following: I have two tables, being tabelaA and tabelaB . I want the search term if not found in one table, be queried in another table. I do not know if there's anything you can do to put the two tables tog...