Hi!
I'm new in php and a have a problem...
I want to create a site with two zones: one up and one down. The users on this site are typing text in the second area (down), press a submit button and i want that text to be written in first area (up). How do I do that? Any ideas?
Need help
Moderator: General Moderators
Re: Need help
Welcome to the boards!
Please take time to read the rules & examine where the best place for your question is. I've moved this thread to PHP - Code.
To answer your question, you would simply make the bottom zone a form, giving the textarea in it a unique name (let's say "down"). Then, in your php file when you're generating the PHP page, you check if $_POST has a "down" element, then output it inside the <textarea></textarea> tags for the upper zone.
Please take time to read the rules & examine where the best place for your question is. I've moved this thread to PHP - Code.
To answer your question, you would simply make the bottom zone a form, giving the textarea in it a unique name (let's say "down"). Then, in your php file when you're generating the PHP page, you check if $_POST has a "down" element, then output it inside the <textarea></textarea> tags for the upper zone.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.