AbydosGater Posted November 15, 2006 Share Posted November 15, 2006 Hey,I was wondering if there was a way with either a MySQL database or just a text file...Would it be possible to either display the information from the database or file, and if its updated, ie: i post news to the database, the page automaticly changes the information displayed, or even just refreshs, but only when the data has changed?Thanks Link to comment https://forums.phpfreaks.com/topic/27336-pesistant-require-possible/ Share on other sites More sharing options...
Psycho Posted November 15, 2006 Share Posted November 15, 2006 Your message could mean two things.1) You are asking it is possbile to change information one place (database/text file) such that the content on that page will change for new visits to that page. By the fact that you have spent some time on these forums I am assuming that you already know that is possible.2) You are wanting to know if it is possible to have a page that is already open dynamically update when the source content is changed. I.e. user has page open, someone changes the text file, the user's page shows the new ciontent w/o a refresh. If that is your question, then that can be done as well using AJAX. Link to comment https://forums.phpfreaks.com/topic/27336-pesistant-require-possible/#findComment-124997 Share on other sites More sharing options...
AbydosGater Posted November 15, 2006 Author Share Posted November 15, 2006 Yes, Number 2!, is it only AJAX that can do this or can PHP do this? Im sorry if thats a n00b question, only heard about AJAX recently, never had anytime to read into it. Link to comment https://forums.phpfreaks.com/topic/27336-pesistant-require-possible/#findComment-124998 Share on other sites More sharing options...
trq Posted November 15, 2006 Share Posted November 15, 2006 PHP can be used as PART of Ajax. Ajax is a methodoligy not a technoligy itself. Its a mix of client-side (Javascript) and server-side (PHP,ASP etc, etc....). Link to comment https://forums.phpfreaks.com/topic/27336-pesistant-require-possible/#findComment-125034 Share on other sites More sharing options...
AbydosGater Posted November 15, 2006 Author Share Posted November 15, 2006 Ohhh Sounds fun, will have a readup on it soon... Link to comment https://forums.phpfreaks.com/topic/27336-pesistant-require-possible/#findComment-125212 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.