J
|
Jane 4/7/2008 |
Dex, |
C
|
ckranichDevClub member 4/16/2008 |
Dex, use can't use $data array in the where clause in this case. As workaround save NameID value in the $_SESSION variable in the Edit page: Before Process event on the Events tab and then use this $_SESSION variable in the WHERE clause.
|
J
|
Jane 4/17/2008 |
Hi, global $conn,$strTableName; $str = "select PROGID, DIMID from ".$strTableName." where RecordID=".$_REQUEST["editid1"]; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $_SESSION["PROGID"] = $data["PROGID"]; $_SESSION["DIMID"] = $data["DIMID"];
|