Posts by Luquinhas Brito • 59 points
9 posts
-
0
votes1
answer63
viewsA: Why aren’t you entering the data into sqlite and how to insert images?
If you put the column codigo only PRIMARY KEY must enter a value in the insert. If you do not want to enter a value in the column just put the AUTOINCREMENT column CREATE TABLE granjas (codigo…
-
1
votes1
answer109
viewsQ: Error When Listing Object Data in PHP
How to list these data from Sponse, mainly IMG, follows the data BELOW: $data = file_get_contents("php://input"); $objData = json_decode($data); $categoria =…
-
-1
votes3
answers357
viewsA: Fix Div with Javascript
You can create a div with the height and width you want: Ex: .conteudo{ height: 100px; width: 100px; } Then create another one div with the following code: .centred{ display: flex; //Exibe um…
javascriptanswered Luquinhas Brito 59 -
0
votes3
answers2552
viewsQ: How to clear input fields after Ubmit?
It is as follows: when you submit the form, in the [POST] method, the variables will be incapsulated in the URL bar. In the [GET] method, the variables are exposed in the URL bar. However, when…
-
0
votes3
answers2552
viewsA: How to clear input fields after Ubmit?
Anyway how it resolves? Just create this Function, : // Limpar URL function removeURL($url, $titulo){ echo 'window.history.pushState("'.$url.'", "'.$titulo.'", "'.$url.'"); } Right after you create…
-
-1
votes3
answers1608
viewsA: Auto Load of classes in PHP
$pastas = ['dir1', 'dir2', 'dir3']; foreach($diretorios as $pacth) { foreach(glob("asset/$pacth/*.class.php") as $filename){ require_once $filename; } } …
phpanswered Luquinhas Brito 59 -
-3
votes9
answers34793
viewsA: Input type="password" with password display eye
<style type="text/css"> #exibe{ height: 50px; width: 50px; background: #000; } </style> <script src="https://code.jquery.com/jquery-1.7.1.js"></script> <script>…
-
2
votes2
answers2342
viewsQ: Percentage function in PHP
How to do a percentage function. In which it calculates the td or is the equal table of Excel to give the percentage. I want to calculate the percentage of a value in PHP, for example 10% of 100,…
-
1
votes0
answers31
viewsQ: Frequency System | Convert to PDO or MYSQLI
Do you have how to convert these mysql codes to PDO or MYSQLI, Please Help Me :( <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…