By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

Trying to define variable from a form

P: 1
Hello,
I'm trying to make myself a thing that will let me define a variable from a form or text area, say $x, so i can use that to quickly access a url for a website (http://example.com/pages/$x). I've been having a hell of a time trying to find a way to do this in PHP, but it seems very simple. Help?
May 22 '07 #1
Share this Question
Share on Google+
1 Reply


ak1dnar
Expert 100+
P: 1,584
Hello,
I'm trying to make myself a thing that will let me define a variable from a form or text area, say $x, so i can use that to quickly access a url for a website (http://example.com/pages/$x). I've been having a hell of a time trying to find a way to do this in PHP, but it seems very simple. Help?
There are lots of threads available for this just go for a search.
See this one its using GET method with URL posting. In your case you have to use a HTML form.

http://www.thescripts.com/forum/post2582508-6.html
May 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.