you can select all labels in one event (Add page: Before process for example) and save it in the session array.
it wrote:
Here is just a sample:
QUOTE
global $conn;
$str1 = "select * from `v_q1`";
$rs1 = db_query($str1,$conn);
while ($data1 = db_fetch_array($rs1))
{
$q_number = $data1["q_id"];
$SESSION["q".$q_number] = $data1["q"];
}
Then print this $_SESSION in any place you want:
QUOTE
echo $_SESSION["q_1"];
I have tried in Login Page before process :
[codebox]global $conn;
$_SESSION["decritta"] = "francesco";[/codebox]
and in List page before display:
[codebox]echo "Your message here".$_SESSION["decritta"];[/codebox]
result in web page only:
Your message here