|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Loading content via txt files.
Hi, I'm just wondering if it would be possible to load content via a text file. Let me elaborate.
Say I have a paragraph somewhere on my page, and some sort of menu someplace else. When I click on one of the links in the menu, I want it to load content from an external .txt (or some other sort of file, perhaps .xml) file into the paragraph. The main idea behind this is so the page doesn't have to reload each time someone wants to view a new article/whatever it may be. I'm pretty new to PHP, if this is possible please tell me how and what I would need to learn to do this? Thank you very much in advance, I'll be visiting the board often so expect quick responses -Rhyvun |
|
#2
|
||||
|
||||
|
RE: Loading content via txt files.
php is server side so every time you need to update something a new request must be made (re-loading) it might be possible in javascript to do such a thing because javascript is client-side.
|
|
#3
|
|||
|
|||
|
RE: Loading content via txt files.
So it's not possible?... Oh wait, I just now got what you were saying. Hmmm, damn. That would mean I'd have to start re-learning javscript lol. Been meaning to do that for a while anyhow.
Anyhow, any good suggestions on where to start learning how I might go about that? Thank you btw... will check back tomorrow. -Rhyvun I should probably register, will do in a minute. |
|
#4
|
|||
|
|||
|
RE: Loading content via txt files.
Erm, this is resolved now.
Since I posted it before I was registered how do I change it so it says resolved? Could a site admin do it for me if I can't? TY |
|
#5
|
|||
|
|||
|
RE: Loading content via txt files.
Thank you muchly whoever closed it
-Rhyvun |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Loading content via txt files. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|