D
|
Dale 7/30/2008 |
Your line Hi, I use this code to show the name of the office instead the id (List Page: Before Display), and it doesn't work, but I can display the name of the office using ECHO. $var = $_SESSION["Ofi"];
|
L
|
lordkain2 author 7/31/2008 |
No, Id_Ofic is a field from other table, look the SQL: |
![]() |
Alexey admin 7/31/2008 |
Hi, |
L
|
lordkain2 author 7/31/2008 |
In List page, I use a default value for "Id_Ofi" ($_SESSION["Ofi"]) but I want to display "Nombre". $var = $smarty->get_template_vars("value_Id_Ofi");
|
J
|
Jane 8/1/2008 |
Hi, global $conn; if ($value) { $str = "select Nombre from ofic where Id_Ofic=".$value; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $value = $data["Nombre"]; } |