[SOLVED] Show image from MasterTable in the DetailTable problem |
3/25/2009 07:34:06 | |
| PHPRunner General questions | ||
|
M
maali author
Hi |
||
|
J
|
Jane 3/25/2009 |
|
Hi, if (@$_REQUEST["editid1"] && @$_REQUEST["editid2"]) echo "<img src=\"mastertablename_imager.php?field=FieldName&key1=".$_REQUEST["editid1"]."&key2=".$_REQUEST["editid2"]."\">"; |
|
|
M
|
maali author 3/25/2009 |
|
Hi Jane |
|
|
J
|
Jane 3/25/2009 |
|
Maali, global $dal; if (@$_REQUEST["editid1"] && @$_REQUEST["editid2"]) { $rs = $dal->forumchild->Query("KeyField1=".$_REQUEST["editid1"]." and KeyField2=".$_REQUEST["editid2"],""); $data = db_fetch_array($rs); echo "<img src=\"mastertablename_imager.php?field=FieldName&key1=".$data["userid"]."&key2=".$data["username"]."\">"; } |
|
|
M
|
maali author 3/25/2009 |
|
Hi Jane |
|