Topic awaiting preservation: Repeating a Block of Text/HTML (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 07-08-2004 15:57
OK, OK, I hate to post this here, but I couldn't decide which scripting forum to place it in since the whole question in the first place is about the best method for doing this ... |
Paranoid (IV) Inmate From: USA |
posted 07-08-2004 16:14
PHP, Perl, Python, or any server-side language can do the trick. You can store the questions/answers in a data structure, and then print them out (possibly multiple times each) in the order that you want them to go. |
Bipolar (III) Mad Librarian From: Berlin (almost) |
posted 07-08-2004 16:16
If you have PHP available you could have two big arrays, which contain all the questions and answers, in a PHP block at the top of the file, and then further down wherever you want to have them outputted echo() the stuff in the appropriate order. code: <?php
code: echo $quesions[1] . $answerd[1];
|
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 07-09-2004 20:31 |
Bipolar (III) Inmate From: Darwin, NT, Australia |
posted 07-10-2004 00:45
Wes, Wes, tut, tut; not at all like you : " Let's here what you all think"! What's the world coming to? |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 07-10-2004 07:45 |
Bipolar (III) Inmate From: Darwin, NT, Australia |
posted 07-10-2004 09:33
Wes, tell me you didn't miss it again, puuuleeeze! Perhaps all this verbing is affecting my hearing |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 07-12-2004 14:36 |