usan variables de sesi贸n en una sentencia SQL
Necesito saber como se har铆a lo expuesto en el t铆tulo der mensaje.
quiero hacer algo como esto
Select CAMPO from TABLA where nombre_campo=nombre_variable_sesion_PHP
Gracias por adelantando
quiero hacer algo como esto
Select CAMPO from TABLA where nombre_campo=nombre_variable_sesion_PHP
Gracias por adelantando
$var = $_SESSION['tu_var']
Select CAMPO from TABLA where nombre_campo=$var
saludos!
Select CAMPO from TABLA where nombre_campo=$var
saludos!