Join date: May 12, 2022






= new MySqliComponent(Configuracion_Programador, $conexion); } the component runs with no error, but when i click the submit button it shows an error on this line: $fechaActual = $mysqli->real_escape_string($fechaActual); the error shows: Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given Thanks for your help A: you are using $mysqli->real_escape_string, but the function receives $db_connection as parameter. Try to change your code to this: $db_connection = new PDO($dsn, $user, $password); $db_connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); $db_connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_RESULTS, true); $db_connection->setAttribute(PDO::MYSQL_ATTR_INIT_COMMAND, "SET NAMES utf8"); $db_connection->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); $db_connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $fechaActual = $db_connection->real_escape_string($fechaActual); or just Where $db_connection is your PDO connection # CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 2.8 C_FLAGS = -fPIC C_DEFINES = -D_FILE_OFFSET_BITS=64 C_INCLUDES = -I/home/ec2-user/tensorflow_stub/CMakeFiles/tensorflow_r1.1.0/src/framework/c_api.h -I/home/ec2-user/tensorflow_stub



Sew Art Registration Serial Number

Clo Show Player 2 Free Download With Crack

Atoll forsk 3.2 crack

wasatch rip software crack download

Solidworks 2013 Solidsquad Crack 12


More actions