jkorty Posted October 12, 2007 Share Posted October 12, 2007 I have a website for my friends and me to guess scores for football games. I have been updating it trying to get it to the point where I don't personally have to go in and change all the scores myself. I setup a test page and it works, the only problem is when I come back the changes aren't still there. I understand why this is happening, but wondered if there was a way to make the PHP sent to the page stay there? http://purduefantasy.freehostia.com/week7.php ... the only user that is setup to change right now is Jon Korty... I think by looking at the link you will get the idea of what I'm trying to do... hopefully.. any help or ideas would be appreciated... Thanks! Link to comment https://forums.phpfreaks.com/topic/72892-new-to-php-form-to-html/ Share on other sites More sharing options...
kevincro Posted October 12, 2007 Share Posted October 12, 2007 Have you tried saving the scores to a MySQL database and then creating a display page with the pertinent info on it? Link to comment https://forums.phpfreaks.com/topic/72892-new-to-php-form-to-html/#findComment-367648 Share on other sites More sharing options...
jkorty Posted October 12, 2007 Author Share Posted October 12, 2007 no i havent... i was trying to avoid that, as i dont know anything about MySQL either, but i guess i may as well figure it out Link to comment https://forums.phpfreaks.com/topic/72892-new-to-php-form-to-html/#findComment-367652 Share on other sites More sharing options...
prime Posted October 12, 2007 Share Posted October 12, 2007 thing is php is a server sice written script as you know. After running a users request, and user leaves site. the script goes back to it's original state. the only ways to permanently store information is either flat files or a database. with a database you'd have it dothe following retrive score from a database show if on display or if someone got a question correct you'd want to $i++ on it and store the altered database entry Link to comment https://forums.phpfreaks.com/topic/72892-new-to-php-form-to-html/#findComment-367662 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.