Hello good afternoon I have an error with my system is that I am changing to PHP 5.6 to 7.1 I get that error when I want to connect my database and I have no idea why I leave the source code here
@$conectar = mysqli_connect($dbhost,$dbuser,$db...
function cargaPagina(pagina)
{
var desde = pagina * itemsPorPagina;
$.ajax({
data:{"param1":"dame","limit":itemsPorPagina,"offset":desde},
type:"GET",
dataType:"json",
url:"Conexion_Contacto.php"...
I have the following AJAX code that passes variables from one form to another page and shows results.
$(document).ready(function() {
$('#form, #asigped').submit(function() {
$.ajax({
type: 'POST',...
Good morning. I'm trying to make a form that uploads files to an FTP using PHP. The problem is that the page is reloaded when the upload is executed. I know that in order to just cool an area you have to use AJAX, but I can not execute the uploa...
Good community,
In this way I use the sessions in the main file to differentiate the interfaces of a common user to an administrator, for example:
<?php
session_start();
if (isset($_SESSION['usuario']))
{
if ($_SESSION['usuario...
I have a multi array with data that includes dates, I want to do it is to pass that data to another multi array but sorted by month index, that is, if I have date 02/05/2017 in the other array you have to create the index 5 and put there all the...
I have an array saved in a file inside a folder that I created in the App called Arrays. It is the following:
$contentTypeArray=array(
1 => 'TEXTO',
2 => 'PDF',
3 => 'PPT',
4 => 'AUDIO',
5 => 'VIDEO',
6...
What I would like to do to help you understand better is the following:
I have a client table with the following fields:
IdCliente int not null primary key auto_increment;
Nombre varcjar;
Apellido varchar;
Direccion varchar;
Telefono varcha...
I am checking if there are users in my BD through a form to enter the email and password. I check in a PHP file if the mail and the password exist in the database, but I get an error Undefined index: password and I do not know why.
HTML co...
I have this code in PHP:
<?php
include ('parametros.php');
$conexion = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
if (!$conexion) {
echo "hay pedo";
}else{
echo "puro fierro :v";
}...