Use mamp and set up the database.php file so
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost:8889'),
'database' => env('DB_DATABASE', 'estoque_laravel'),
'username' =&...
I have this code to open multiple forms on the same page:
<select id="mudar_produto">
<option value="#produto_1">Novo Produto Higiene</option>
<option value="#produto_2">Entrada de Produtos Higiene</option&...
I have the code:
<?php
$clientes = implode(', ', $clientes);
$busca = $mysqli->prepare("SELECT nome FROM clientes WHERE id IN (?)");
$busca->bind_param("s", $clientes);
$busca->execute();
$busca->bind_result($nome);...
I have code in CodeIgniter which takes a value of select dropbox in a view and leads to a second view showing the results in a table. In that second view , I kept the dropbox and the submit ("Filter") but...
I am not able to upload videos in CodeIgniter, the function works with pdf , but not with other extensions.
The return I have is file type not allowed .
Controller:
public function add(){
$dados['tutorial']= $this->uploadArqui...
I created an application in php that uploads files (PDF, images and JSON) that works correctly on my PHP 5.2.17 server, but on the client server, the application only works if I change the permission of the site folder to 777.
On my server I...
Data and database queries have a very special place in the universe of computers. The popularization of the internet was due to the agility of searches implemented by the Enginner Search Web mechanisms.
Simply searching for a string using sql...
I'm using the Facebook API to register data in the database. As soon as I open and navigate everything works fine, but when I try to register more than once this error appears:
AfterIclosethebrowseritreturnstonormal,soIbelieveitisaproblemrea...
Very good afternoon, I'm new here in stackoverflow and I have a question related to a wordpress theme, I have the following programming in php:
if ($i == 0 || ($i % 3 == 0)){
echo '<div class="item '.esc_attr($active).'">&l...