Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-25 19:37:30

gaza
Member
Registered: 2004-11-22
Posts: 29
Website

How do I get variables from URLs?

Hi, how can I retrieve variables passed from the URL ?

I’m trying to run some queries on the database but I need to pass some letters as $_GET variables to retrieve some data.

How is this done?

Are there links to articles that explain this?

Thanks,

G.

Offline

#2 2007-04-25 19:47:12

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: How do I get variables from URLs?

You could either use a plugin, chs_if_url_var, or otherwise learn from its code.

Offline

Board footer

Powered by FluxBB