ChipChamp007 Posted January 31, 2007 Share Posted January 31, 2007 Okay, what I mean is how could I make something like a text area where any person on the website would type something and click submit, and it would make a certain variable what they typed and then show what they typed somewhere on the page. And then, if you close the page a reopen it at a later time, the text that they typed is still there! How can I make a variable that doesn't reset every time you load the page? Link to comment Share on other sites More sharing options...
vchris Posted January 31, 2007 Share Posted January 31, 2007 What they type needs to be stored in a database. This is beyond HTML, you'll need to use a server-side scripting language such as php, asp or coldfusion. Link to comment Share on other sites More sharing options...
Anders Moen Posted January 31, 2007 Share Posted January 31, 2007 Or you can use flat files, which is really unsecure. If you need PHP host with database, AwardSpace.com is free Link to comment Share on other sites More sharing options...
ChipChamp007 Posted January 31, 2007 Author Share Posted January 31, 2007 Oh, okay! I've been trying to learn PHP, but I really haven't been able to learn it because I can't get it to show up in the browser. I've been told I need to download PHP or a server or something... And I downloaded all the three things on the PHP introduction, but it still doesn't seem to work. Is there anything else I need to do? (Just a quick question) Link to comment Share on other sites More sharing options...
Anders Moen Posted January 31, 2007 Share Posted January 31, 2007 You don't need to download PHP to have a free online host with PHP. If you go to awardspace.com, they have everything you need installed. Link to comment Share on other sites More sharing options...
MrAdam Posted February 1, 2007 Share Posted February 1, 2007 or, (as i prefer) you can install an Apache server, PHP and mysql and run it off your computer. you said you'd downlaoded them but couldn't get them to work - it's so hard, I couldn't get it working myself. I used "xampp" (google it) .. installs them all at once and makes it real simple. Link to comment Share on other sites More sharing options...
Anders Moen Posted February 1, 2007 Share Posted February 1, 2007 Yeah. XAMPP is an alternative if you want to have your own webserver. It's really easy to set up. In matter of fact, I have it on this computer for some reason.Since MrAdam only said "Google it", I'll give you the link to it. Here's the link Link to comment Share on other sites More sharing options...
aquatsr Posted February 3, 2007 Share Posted February 3, 2007 You don't need to download PHP to have a free online host with PHP. If you go to awardspace.com, they have everything you need installed.It's better if you download Apache and PHP module and MySQL because it will allow you to learn PHP faster and more efficiently. Link to comment Share on other sites More sharing options...
Anders Moen Posted February 3, 2007 Share Posted February 3, 2007 It's better if you download Apache and PHP module and MySQL because it will allow you to learn PHP faster and more efficiently.Yes, it will but if you don't know how to open some gate at your network so other people can see it, you should use some online stuff.But if you want your own simple (but effective) server, use XAMPP Link to comment Share on other sites More sharing options...
aquatsr Posted February 3, 2007 Share Posted February 3, 2007 Yes, it will but if you don't know how to open some gate at your network so other people can see it, you should use some online stuff.But if you want your own simple (but effective) server, use XAMPP The point is not to let others see it, the point is to learn. After you're sure of your abilities, you can move it onto a public site; something every good coder should know (######, it's just FTP) Link to comment Share on other sites More sharing options...
Anders Moen Posted February 3, 2007 Share Posted February 3, 2007 Yeah, of course... I just didn't say that. But I think we're going a little off topic now lol. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now