Forums / Developer / function $_GET and ezpublish

function $_GET and ezpublish

Author Message

LORDLIFEN LIFEN

Monday 31 May 2010 4:57:38 am

hi,

i want to recup in my adress my variable id
http://192.168.0.16/en/index.php/eng...e/Roland?id=05

my syntaxe don't match

{$_GET[id]} help me plz

Marcel Marnet

Monday 31 May 2010 5:24:58 am

Hey,

you'll find a solution here:

http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_operators/data_and_information_extraction/ezhttp

best regards,

Marcel

Franck Grenier

Monday 31 May 2010 6:13:38 am

Beware of cache when using ezhttp.

You should use view parameters instead.

http://www.your-url.com/(parameter1)/value1/(param2)/value2

Then, view parameters are available in templates through {$view_parameters}

Developer at Open Wide

LORDLIFEN LIFEN

Monday 31 May 2010 8:04:57 am

tanks