This topic is locked

Display a LABLE? Not a read only FIELD.

10/13/2008 11:35:27 AM
PHPRunner General questions
L
Lorenbond author

Can anyone tell me if its possible to output a $_SESSION["Variable"] to a LABLE rather than a read only FIELD.
In own_records_add form, I want to DISPLAY to the user: "Company_Name", "Fullname","email", and "phone".
If I use fields from the register table and set them to read only the system tries to SAVE them.
I dont want to store the info. I just want to display it.

Sergey Kornilov admin 10/13/2008

Use "Insert PHP code snippet" function and the following code:

echo $_SESSION["Variable"];