I understand how you can make a form that when submitted will go to asite where the info is processed. Is it possible to do the same type of thing just by making a simple link? Using a href or something like that?

Recommended Answers

All 2 Replies

You can pass variables in a hyperlink like that:

h**p://www.something.com?var1=set&var2=unset etc...


In the target of the hyperlink you can get the variables with the $_GET variable, for example $_GET would give you 'set'.

Michael

Um, is this a question or a tutorial?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.