Romulus Romulus - 1 year ago 72
PHP Question

PHP, given two inputs, make a link

I want to make a we page with 2 inputs. The user enters "John" and "Smith" into the inputs and clicks submit.

I want the submit to act like a link that looks like

Is this possible?

Answer Source

At a very basic level, you can use the header() function and the get/post variables from the form submission like so:


This will redirect the user to upon submission.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download