Help Append two textfields into a third one with a space

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dicky18
Forum Newbie
Posts: 2
Joined: Tue May 22, 2007 3:23 am

Help Append two textfields into a third one with a space

Post by dicky18 »

HI i dont know if its a stupid question but im so new to php you can forgive me
well the thing is i have 3 text fields

textfield1
textfield2
textfield3

I want to add textfield 1 with textfield 2 and display it in a hidden textfield3 with a space between the text.

Textfield1(Sam) + Textfield2(Yam) = Textfield3 (Sam Yam)
thanks in advance
User avatar
stereofrog
Forum Contributor
Posts: 386
Joined: Mon Dec 04, 2006 6:10 am

Re: Help Append two textfields into a third one with a space

Post by stereofrog »

Hi there
dicky18 wrote:i dont know if its a stupid question
What do you think?

You cannot program without knowing the very basics of the language, and forum is a wrong place to learn them. Please have a look at php manual (http://www.php.net/manual) especially "Getting started" and "Language reference" sections.

Hope this helps.
dicky18
Forum Newbie
Posts: 2
Joined: Tue May 22, 2007 3:23 am

thx

Post by dicky18 »

ok will do [s]thx[/s] thanks for the link
peace
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
Post Reply