A
|
Aleix 8/9/2011 |
Hello Shrun; |
S
|
shrun author 8/9/2011 |
Aleix, the userid I can too, but other fields not because they are not declared as session variables. For example, if I have a field in another table, how to get up this information? |
C
|
cgphp 8/9/2011 |
You have to query that table using the session user var. Please, provide more info about your app. |
S
|
shrun author 8/9/2011 |
I have a table called "contact" with a field called "address". The primary key is the user id, I want get the "address" of the user logged in and display it in "listpage" of table "products", as a fixed information. The table "products" have not no reference to the table "contact" . |
C
|
cgphp 8/9/2011 |
Place the following code in a PHP snippet: global $conn;
|
S
|
shrun author 8/9/2011 |
Ok. Thank you!!! |