hola amigos ando hacieno un programa en el que necesitopasar variables de una funcion a otra
Código PHP:
funtion a()
{
echo "<center>";
echo "<table class=\"list\" border=\"1px;\" cellspacing=\"10px;\">
<thead>
<tr>
<td class=\"foto\"><img src=\"images/th_".$la_foto."\"></td>
<td class=\"menupeke\">".$la_marca."<br />Desde el ".$fechaInicio."<br />Hasta el ".$fechaActual."<br />Hora de entrega ".$Hentrega."<br />Hora de Recogida ".$Hrecogida."<br />Total dias ".$dias_diferencia."</td>
<td class=\"txtlista\">Total a pagar ".$subtotal."<br />Total a pagar web ".$pweb."</td>
<td><a href=\"".$_SERVER['PHP_SELF']."?accion=pass1&el_id=".$registro['id']."\" la_foto=".$la_foto."\" title=\"Mostrar detalles\"><img src=\"images/b_elegir.jpg\" alt=\"Mostrar detalles\" width=\"65\" height=\"20\" border=\"0\" align=\"middle\"></a></td>
</table>";
}
y las recibo asi pero no me llegan bien
Código PHP:
function paso1($con)
{
$el_id=$_POST['el_id'];
$la_foto=$_POST['$la_foto'];
echo "<center>";
echo "<table class=\"list\" border=\"1px;\" cellspacing=\"10px;\">
<thead>
<tr>hola".$el_id."
<td class=\"foto\"><img src=\"images/th_".$la_foto."\"></td>
</table>";
echo "</center>";
} //EndFunction
si fuerais tan amables ... y tubierais la soclucion...