Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/04/2011, 21:20
brody25
 
Fecha de Ingreso: abril-2011
Ubicación: Queretaro
Mensajes: 5
Antigüedad: 13 años
Puntos: 0
problema con comillas

hola que tal a todos, haber si alguien me puede hechar la mano con este codigo, me marca el error siguiente: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\wamp\www\uteq\empresas\detalle_empresa.php on line 12

Código PHP:

<html>
<head><title></title></head>
<body>
<h1>Detalle de Empresa</h1>
<?php
$RfcEmp
=$_POST['RfcEmp'];
$consul_empre="select empresas where RfcEmp=$RfcEmp";
$consult=mysql_query($consul_empre);
echo 
"<table border='1'>";
$fila_emp=mysql_fetch_array($consult);
    
    print 
"'<tr>' . '<td>' . 'rfc' . '</td>' . '<td>' . '<input type=\'text\' name=\'rfc\' id=\'rfc\' value=\"<?php echo $fila_emp['RfcEmp']; ?>\" />' . '</td>' . '</tr>'";
     echo 
"<tr><td>Nombre</td><td><input type=\"text\" name=\"nombre\" id="nombre" value="<?php echo $fila_emp[$NombreEmp]; ?>" /> </td></tr>";
    
?>
<body>
<html>
segun es por la comillas, pero no se como uzarlas adecuadamente con este ejemplo.