Have an account? Sign in
Login  Register  Facebook
Help with text fields and PHP
Does anyone know if it\'s possible to have several text fields that place the data into different spots in the same web page. If needed I could just use two pages, it doesn\'t really matter. I\'ve heard this requires a PHP script, but I\'m not sure how to set this up.

any help is appreciated! Thanks
Started: September 16, 2011 Latest Activity: September 16, 2011 php html textfield
2 Answers
Your question is a little broad and vague, but I'll give it a shot. You don't need PHP per se, especially if the data is static.

There are a number of techniques you can use to include the same text in multiple pages. Such as any scripting language (like PHP), server side includes or you could even build your pages using XML and XSLT (using <xsl:include />), which allows you to do the inclusions on the client side.

The XSLT approach may be less portable to mobile browsers, but it's a solution that doesn't depend on the capabilities of your webserver. If you want to learn PHP, there are lots of tutorials around on the internet. I'd link you some, but frankly you're better of doing a search :)

Posted: xtremex
In: September 16, 2011

I'm confused now. I think I know what you're trying to say, but let me reword my question. I have several text fields. I want someone to be able to type in the field, press OK, and have what they put in the field appear at different spots around the web page.
September 16, 2011

look here:http://php.net/manual/en/reserved.variables.post.php
September 16, 2011

No, it doesnt require a PHP script.
Just place as many text fields as you like, anywhere you with

Posted: MacOS
In: September 16, 2011

Your Answer

xDo you want to answer this question? Please login or create an account to post your answer