I have a contact form, so when it is populated it is not displaying the failed to send or successfully sent alert, it is redirecting to a search page, here my script:
<form class="form-inline" action="<? $PHP_SELF; ?>" method="post"&g...
Good afternoon,
I have the following query:
SELECT
DATE(o.data_fechamento) AS Data,
u.nome AS Pessoa,
COUNT(*) AS Total
FROM
ocorrencias AS o
LEFT JOIN sistemas AS a ON a.sis_id = o.sistema
LEFT JOIN localizacao AS l...
My problem refers to the integration with the sky and I've rolled everything, but without success.
I read this post:
Request in Cielo's PHP API using cURL
"I understood" what I said in the post and did so:
<?
//string json contendo...
I have a problem with the following code:
<select name="tipoPessoa" class="form-control">
<?php
$tipos = array("Pessoa Fisica","Pessoa Juridica");
$tipoSemEspaco = str_replace(" ","",$tipos);
foreach ($ti...
I've learned that "Whenever you think of data manipulation, think about model. It is responsible for reading and writing data, and also for validating it."
Later on another person told me that models is exclusively for data processing, speci...
I need to make that little animation, like on Youtube, of the progress bar that appears at the top.
How do I know how much of the content has been downloaded, to have a basis for the progress bar?
I did not want to do a "static" animation,...
I am developing a new project and I am creating a system of profile followers, in which the purpose is to show only the publications of whom I follow.
Like for example the one of a social network.
I follow the person, so I get the person's publ...
I need to download a .xls file that is in a MySQL database, but I need to save it with the original name.
Can anyone help me?
Uploading with you can be easy. I need to download it.
include_once 'db.php';
$download = mysql_query("S...