Buenas tardes estoy tratando de editar una pagina pero no me toma el $_request
Código:
<?php
include("data/dbapertura.php");
$sql= "Select * from proyectos where pro_publicar = 'S' and pro_codigo = '$_REQUEST["pro_codigo"]'";
$query = mysql_query($sql,$conector);
if (mysql_num_rows($query)>0)
{
$row = mysql_fetch_array($query);
$NombreProyecto = $row["pro_nombre"];
$CodigoProyecto = $row["pro_codigo"];
$LugarProyecto = $row["pro_lugar"];
$AnioProyecto = $row["pro_ano"];
$AlcanceProyecto= $row["pro_detalle"];
$Imagen_1 = $row["pro_imagen_1"];
$Imagen_2 = $row["pro_imagen_2"];
$Imagen_3 = $row["pro_imagen_3"];
$Imagen_4 = $row["pro_imagen_4"];
}
me sale el siguiente error
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING
pero debe tener algo desactivado en el PHP.ini
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
:apla uso: