Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a table that people should be able to type into

Status
Not open for further replies.

ptukey

Technical User
Sep 23, 2002
33
US
I have a table on my webpage that people are going to be able to submit poems. How do I have the text that they type in that table show up in not the next page but the page after. See I am not a beginner at HTML but I not even close to being an expert. LOL. I know that you can use java scripts, but I do not the appropriate java script and I have looked everywhere. All I want to so is have the text that someone types in my table show up in 2 webpages later, if that makes sense. I can get the submit button work, but the text never shows up in the webpage that I want it to. Please give me some suggestions and if you need to look at the site to get a feel for what I am doing please email me. Thanks for taking the time to look at this and hopefully you can give me the answers that I seek. Oh and could you provide an explaination on how the java script or whatever would work. Thanks again.
 
>> people are going to be able to submit poems

You're way off base with JavaScript then. What you need is some sort of back-end system to recieve the poems.

JavaScript is a predominantly client-side language. It can't save a chunk of text to your server. You'd need something along the lines of CGI, PHP, ASP or some other server-side process to capture the submission then redisplay it.

Otherwise the poem will never be sent to your server, so you can never display it.
 
well my roommate has experance in PHP, but what you are saying is that ther is no way in HTML that I can transfer what they type to a webpage? like I said feel free to look at my webpage....:p
 
yes try XML.... i know nothing bout it but just that it can do something like this...

Known is handfull, Unknown is worldfull
 
>>well my roommate has experance in PHP
That's a good start.

>> but what you are saying is that ther is no way in HTML that I can transfer what they type to a webpage?
No, what I'm saying is that without some sort of back-end process (like PHP) you will not be able to store what they send. If there were no way to send what somebody types to a web page, how do you think I managed to answer your first post?

If you have access to PHP on your server, use that.


>> like I said feel free to look at my webpage....:p

As much as I would love to look at your web page, I don't have the time to type random URLs into my browser in the hope that I'll stumble across yours. Perhaps a link would speed the process.
 
revolution.bossig.com/~ptukey
then on your left click "clic here to submit poems, then type somthing click submit and follow the links. :D
 
Very nice.

You will need to redirect the [tt]action[/tt] attribute of your form to whatever PHP code you happen to write. The back-end would then write the code to a data-store. Some other code would then retrieve it and display it to the browser.
 
very nice you think so? umm i do not know any PHP? I was hoping that HTMl would allow me to do what I wanted.
 
You could transfer information between html pages using get method when posting the forms - this would attach a url parameter to the target which could be retrieved by some javascript, however there is a limit on how much information you could send using this method, i believe it is aroung 2000 characters, however as dwarfthrower was saying - perhaps your best option would be to use a simple xml file to store the information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top