I'm developing a form with date field.
How do I use the present form resource of Codeigniter for a date field?
In the example below I'm using text area. Is there a form_ function for dates?
echo " <div class='form-group'> ";...
I'm having trouble when I try to create foreign keys for Migration in Laravel.
Look at my Migration !!!
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateEmpresaUsuarioTable exten...
I need to extract the private key from a .DER file, however analyzing the openssl_pkey_get_private I have identified that it is necessary to pass as a parameter a file with the .PEM extension.
I tried to see the contents of th...
There is the possibility of downloading multiple files in a single link. I have tried in many ways and I have not obtained results if someone can give a force.
In the image the termosPedidoId (78)
<?php
use App\Controllers\DB\Con...
I have a table and I use DataTables, I'm using the native export functionality and give a hide in the columns my code looks something like this:
"buttons":
[
'copy', 'csv', 'excel', 'pdf', 'print',
{
extend: 'colvis',...
I was asked to make an API here where I work to be able to integrate some systems with nfce. For that, they hired the api one. More information here: link .
The real question is how and why should I make an API to access another API? Would n...
I want to make a button or text field, for example, of email, that informs the amount of emails on top of the text. Something like:
Emails¹³
Is this done in PHP or HTML?
For example, I have a variable called:
$idEmpreendimento = "1";
I would like, by clicking on a particular link, I could change this value to 2. Is it possible?
--------------------------- EDIT ~ Solution
For those who want the solutio...
There is a table in Mysql that suffers many insertions.
The application needs to show these changes to the client.
Currently the existing application queries the table every 10 seconds and displays the contents of the table.
Is there any way t...
When you click on a link, you would like to download a file. The file path comes from the database. The path to the download of the file is correct, something like "catalog / catalog_janeiro.pdf".
<?php
$sql = mysql_query("SELECT * FROM t...