I'm trying to click on an image to pass the parameters I need to the other page.
<a href="todoeventos.php?variable=<?php print $variable ["imagenes"]?>">
With this I can pass the image to the other php file, but I also need to pass name_evento location and price.
I've tried doing something like that but it does not work
<a href="todoeventos.php?variable=<?php print $variable ["imagenes"]?>dos=<?php print $dos ["imagenes"]?>">
and this is all my code
<div class="row">
<?php
while ($variable = $consultaimg->fetch_assoc())
{
?>
<div class="col-md-4">
<div class="thumbnail">
<a href="todoeventos.php?variable=<?php print $variable ["imagenes"]?>">
<img src="<?php print $variable["imagenes"]?>" style="width:100%">
<div class="caption">
<p >Nombre evento: <?php print $variable ["nombre_evento"]?></p>
<p>Localizacion:<?php print $variable ["localizacion"]?></p>
<p>Precio de la entrada: <?php print $variable ["precio"]?></p>
</div>
</a>
</div>
</div>
<?php
}
? >