I have a select that pulls the name of a product.
I want you to select the product name via dropdown and automatically fill in an input with product code. The information is in a single table, in the id, id_produto, nome ,serial, log...
I'm using facebook api for login , and following the tutorial I have already been able to implement it, but I still do not understand how the system that picks up user information works.
What I need to do is store this information in the dat...
I have a table in my database with multiple numbers. I get the numbers from the database, I save in array , and I make echo in a table in PHP:
echo "<table class='CSSTableGenerator'>";
echo "<tr>";
echo "<th>ar...
I'm having problems with my JSON , the error is accentuation, does JSON allow? if it allows, how can I do to show, what will get JSON needs it to be normal, with accents and everything ..
MY JSON:
{
"id": "addCTE",...
I need to create a BAT file that should be executed every day on 25th. It should run a function named emailAnnountables (), which has been defined for programming a website within two files (controller and model).
Since I took over this websi...
The code is as follows:
$zip = new ZipArchive();
$criou = $zip->open("download.zip", ZipArchive::CREATE);
if ($criou === true){
$diretorio = UPLOAD_DIR . 'produto/small/';
foreach ($imagens as $imagem) {
$zip->addFile($...
Select Mysql database data inside a PHP file without refresh.
Example:
<?php
// Essa select abaixo tem que buscar a cada 5 segundos sem atualizar a página
$selecionaTabela = mysql_query("SELECT * FROM nomeTabela")or die(mysql_error());
/...
Good afternoon,
I'm having a problem where I need to remove the time or set the end time always to 23:59:59
if($form)
{
$start = new \DateTime($form['startDate']);
$start = $start->format('U');
$end = new \DateT...