troubleshooting Question

HTML/PHP Submit button redirect

Avatar of MPDenver
MPDenver asked on
HTMLPHP
5 Comments1 Solution882 ViewsLast Modified:
I know this may not be the best way to do this however I try ttext boo figure it out.

I have and index.php that has a text box and a submit button.

What I need is advice on the best way to look up a value in the text box an redirect to a website based on the value.  

If the value does not exist then a message displaying the value does not exist.

Example

textbox value  = "google" when submit is clicked look for the value redirect redirect to

google = www.google.com

the text will have letters or numbers.

Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros