This topic is locked

For Jane

11/19/2008 12:10:29 PM
PHPRunner General questions
F
francot author

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

J
Jane 11/20/2008

franco,
It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.