|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I'm trying to find something which will let me update some information in tables, by inserting a text file somewhere which a script will read it, and insert it in the HTML file in the correct place, and format.
Ideally I'd like it to be in Perl, but it doesn't have to be. Any language will do. Thanks Lee |
|
#2
|
|||
|
|||
|
Your table could be in the form of an SSI call to a text file that has the table content (with or without the tags, depending on how complicated the table is).
Or use perl to generate the table with content and code using a file with a consistant meta-tag/content scheme. I use a combination of both. |
|
#3
|
|||
|
|||
|
Cheers mate Is there somewhere on the web where I could find any code or anything. cheers Lee |
|
#4
|
|||
|
|||
|
I wrote an HTML/table engine for javascript. All you need to do is pass it some arrays as parameters. Check out basic builder in ClipScripts.
As for loading text files in javascript, just put the text you want in an HTML form as default form values. Use an onLoad event in the body tag to trigger the function you want to use the data. Have fun dan ------------------ "That extra hour you spend designing your data might save you three hours of coding" |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Updating HTML tables with perl (using plain text files) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|