I have a form that sends the following information to the controller:
<form method="GET" action="index.php">
<input type="hidden" name="nombreTabla" value="Colegios">
<input type="text" name="alumnoID">
<input...
I am new in this of the fixes, and I want to know how to go through them correctly to make an insertion of data based on the contents of a table, how should the code be to execute the corresponding queries?:
SaveFactura.php
<?php
$htmlCo...
This is my redirect file in php
<?php
header("Location: https://www.ejemplo.org/anuncio1.php");
?>
What code do I need so that when a person with an ip. for example 192.168.1.1 can only be redirected once a day or once per hour to that...
Thanks for your help colleagues, I'm just beginning in the world of programming, I appreciate your help. I'm doing a search menu with php with odbc connection. The connection file is as follows:
<?
$dsn = "PG_EXCEL";
$usuario="postgres";...
When exporting a MySQL table, this was the result:
-- phpMyAdmin SQL Dump
-- version 4.4.10
-- http://www.phpmyadmin.net
--
-- Servidor: localhost:8889
-- Tiempo de generación: 18-04-2018 a las 21:18:37
-- Versión del servidor: 5.5.42
-- Versi...
I'm stuck with this, I have the following driver:
function prueba_envio_email()
{
$config = Array(
'protocol' => 'smtp',
'smtp_host' => 'ssl://smtp.googlemail.com',
'smtp_port' => 465,
'smtp_user'...
I am working with the loadata but mysql if you accept the "" but not php, so I decided to insert all the raw data (with loadata but using only varchar fields) in a table for later on those fields to do operations, my problem it is in the last co...
I'm running a code but it marks these errors:
Notice: Undefined variable: userid in
C: \ xampp \ htdocs \ Edu \ profile.php on line 69
Notice: Undefined variable: followerid in
C: \ xampp \ htdocs \ Edu \ profile.php on line 69...
I have a problem with a dependent menu made with the YII framework, what I need is that when I enter a value in a dropdown and change another two dropdown, but it only takes me a few.
this is my controller:
public function actionAjaxListado...
I wonder if it is possible to send data from a form on the same page with all the code. Separately it works perfectly for me, but what I need is for the data to be sent in the same file and refreshed.
I leave my code here.
<?php
//...