![]() |
Sergey Kornilov admin 2/20/2007 |
Use BeforeEdit event for this purpose where you can access form variables. |
G
|
gje author 2/20/2007 |
Hi, I have tried that, but it doesn't work for me... If I put: |
J
|
Jane 2/20/2007 |
Hi, echo postvalue("value_event");
|
G
|
gje author 2/20/2007 |
Hi, |
J
|
Jane 2/21/2007 |
Jan, $_SESSION["prod_foto"]= postvalue("value_prod_foto");
function AfterEdit() { global $conn; $str = "select ImageField from TableName where prod_foto=".$_SESSION["prod_foto"]; $rs = db_query($str,$conn); $data = db_fetch_array($rs); //$data["ImageField"] contains your resulting image }
|