
-----------------------------------
Phenomena
Sun Mar 11, 2007 12:58 am

Populating Text Box with PHP
-----------------------------------
Ok I'm fairly new to php and would really like to learn it :P For my first project I want to create an xml plugin creator (because im lazy too make them by hand :P) So what I would be doing is creating an html textbox labeled name and a submit button. When I hit submit I need it to add whats in the text box to a different textbox without overwritting anything so that i can go back up change whats in the textbox hit submit again and have it added to the list while keeping everything else.  Sorry if this confusing its late and Im tired. >_<

-----------------------------------
morgaine
Sun Mar 11, 2007 2:52 am

RE:Populating Text Box with PHP
-----------------------------------
for appending the value of one text box to another, you really don't need a server-side language, JavaScript is the easiest way to go. 

That said, here's what you can do in php: (copy and paste the following into a file called sample.php to test it out)






Name: 









-----------------------------------
samara
Tue Jun 02, 2009 11:16 am

Re: RE:Populating Text Box with PHP
-----------------------------------
for appending the value of one text box to another, you really don't need a server-side language, JavaScript is the easiest way to go. 

That said, here's what you can do in php: (copy and paste the following into a file called sample.php to test it out)



 )  "Undefined Index List on line 3"

2.) Undefined index name on line 3

3.) undefined index list on line 3

what should i do?
