By: Victor
Date: 2015-05-17
Time: 18:48
|
Deleting several paragraphs
Hello,
I have a long text into a .odt file and I wish that a few paragraphs be hidden/shown depending on the value of a variable received by POST.
I thought I could make it using this command in each paragraph "[onload; block = tbs: p; When [var.x_delete] = 0]" but replacing the "x_delete" by my variables.
Ocurs that it does not work, does anyone have a suggestion on how I can do this?
At first I thought in keeping the content of paragraphs within the PHP variables or a database, occurs that the text has parts in bold, italics and different colors, so I imagine that it is easier to hide paragraphs than sending such formatting.
|