En esta sección hay publicado todo tipo de temas sobre programación e Internet que puedes revisar o descargar.
Esta página está abierta a tus aportaciones, por lo que quien esté interesado puede publicar cualquer curso o tema desde: Agregar Curso/Tema.
Estimados(as)
Temgo el siguiente código:
while (list($llave, $valor) = each($_POST))
{
if (substr_count($llave,"$cadena")===1)
{
$rpe_solucion_escogida = trim($valor);
$tam = strlen ($llave);
$rpe_pre_codigo = substr($llave, 10, $tam); // Retorna el ID de la pregunta
// Guardando en la BAse de Datos respuesta de la prueba
//graba las respuestas del alumno
$sql = "INSERT INTO resp1bmat1 (rpe_est_codigo,nombre,apellido,curso,rpe_pre_codigo,rpe_solucion_escogida)
VALUES ('$rpe_est_codigo','$nombre','$apellido','$curso','$rpe_pre_codigo','$rpe_solucion_escogida')";
if (mysqli_query($con, $sql))
{
} else
{
echo "Error: " . $sql . "<br>" . mysqli_error($con);
}
}
}
Al jejcutar el programa de arroja el siguiente mensaje:
Fatal error: Uncaught Error: Call to undefined function each() in C:\wamp64\www\examen\BASICA\guardar_examen_CC1.php on line 51.
Tengo instalado WAMPSERVER y la configuracion es:
Server Configuration
Apache Version:
2.4.54.2 - Documentation Apache
Server Software:
Apache/2.4.54 (Win64) PHP/8.0.26 mod_fcgid/2.3.10-dev - Port defined for Apache: 80
PHP Version:
[Apache module] 8.0.26 - Documentation PHP - Loaded PHP extensions - Use of PHP versions
[FCGI] 7.4.33 - 8.0.26 - 8.1.13 - 8.2.0 - FCGI mode help
MySQL Version:
8.0.31 - Port defined for MySQL: 3306 - default DBMS - Documentation MySQL
MariaDB Version:
10.9.4 - Port defined for MariaDB: 3307 - Documentation MariaDB - MySQL - MariaDB
Por favor podrían ayudarme a solucionar el error?
Hey everyone I bring to you good news.. Have been playing lottery for years now and unable to win I even came to conclusion that I won't play lottery again, last Monday I came online and I saw a post about Dr dominion spell lottery number I doubted but decided to give a last try and I reach out to him, we chatted to my greatest surprise on Thursday he cast a spell and gave me a winning number and i tried the numbers, guess what guys I won the lottery, my retired mom has be playing too and I have asked her to reach Dr dominion and I know soon she is going to win, if you want to win this lottery I will advice u reach on Dr dominion he has all it requires to make u win
Email:
[email protected]
website: https://dominionlottospell.wixsite.com/dr-dominion
WhatsApp: +16574277820
Call: +12059642462