Link parameter in the whare filter

Hi i like to send a link with parameter to a custom page.
Tthis is the link

http://url.com/suisa?suisa_eventid=1

I like the parameter value in the where statemant.
grafik

$query->where(“suisa_eventid”, “=” , “suisa_eventID”);

But the value dont wakork, what is the right syntex.
Thanks
Genlock

1 Like

I have the same problem. I want to pass a parameter.
Is there more information about working with parameters?

I found the solution:

$query->where(“suisa_setlistid”, “=”, $_GET[‘setlistid’]);

It’s important that the link parameters don’t have any spaces or other special characters.

Incorrect: http://url.com/suisa?suisa_eventid=1
Correct: http://url.com/suisa?suisaeventid=1

Thank you.

and the ‘ is the correct charactor ‘ is not the same ’ take the correct sintax:‘