variable in URL

Ignacio

New Member
Is it possible?

href="mysite.php?variable1=var1

and in plugin content {fabrik view=list id=1 table___x1[value][]=$var1}

Tank you.
 
thanks, but no work for me.

im my site:

<?php
$pagina_anterior = "{$_SERVER['HTTP_REFERER']}";
$pagina_anterior = substr($pagina_anterior, 40);
$pagina_anterior = rawurldecode ($pagina_anterior);
echo "<h2> $pagina_anterior </h2>"; //note 1
?>
<p><br><p>

{fabrik view=list id=4 medallas___palista1[value][]=[$pagina_anterior] medallas___palista2[value][]=[$pagina_anterior] medallas___palista2[join]=OR medallas___palista3[value][]=[$pagina_anterior] medallas___palista3[join]=OR medallas___palista4[value][]=[$pagina_anterior] medallas___palista4[join]=OR resetfilters=1 showfilters=0}

Note 1: echo "<h2> $pagina_anterior </h2> is OK, but in the content plugin does not work the same variable.

To insert php in Article I use jumi .
 
You've asked
mysite.php?variable1=var1
I can't see the relation to your 2nd post.
No idea what you and Jumi are doing there (using variables $xxx outside php code)
 
You've asked

I can't see the relation to your 2nd post.
No idea what you and Jumi are doing there (using variables $xxx outside php code)


I'm sorry, I do not speak English , use google translator , it is difficult to express my problem well.

Your reply has allowed me to realize that I can not mix code php and fabrik.

I will try to pass the variable directly by url.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top