Filter help with html and php switch

0

hi I have a question I'm working with dompdf and I want to load a template for each brand of pc that there is but in doing so I do not load the varibles that I charge in the attached pdf code that calls the pdf

<a href="pdf.php?orden=<?php echo $orden?>&Nombre=<?=$Nombre?>&Marca=<?=$Marca?>&Equipo=<?=$Equipo?>&Serial=<?=$Serial?>&Cargo=<?=$Cargo?>&Cedula=<?=$Cedula?>&Celular=<?=$Celular?>" ><i class="glyphicon glyphicon-file">Descargar-PDF</i></a> 

I tried it with a switch but it did not load the variables to me the pdf

    
asked by Kevin Salazar 07.11.2017 в 23:23
source

1 answer

0

Although the image you provide does not exactly correspond to the code you show, I think the problem is due to the use of php short tags, maybe they are disabled at the server level.

Try this to rule out that option:

<a href="pdf.php?orden=<?php echo $orden?>&Nombre=a<?php echo $Nombre?>&Marca=<?php echo $Marca?>&Equipo=<?php echo $Equipo?>&Serial=<?php echo $Serial?>&Cargo=<?php echo $Cargo?>&Cedula=<?php echo $Cedula?>&Celular=<?php echo $Celular?>" ><i class="glyphicon glyphicon-file">Descargar-PDF</i></a> 

You tell us how it went. Greetings,

    
answered by 08.11.2017 / 11:48
source