J
|
Jane 9/4/2008 |
Hi, <input class=button type=button value=Update onclick="window.location.href='tablename_view.php?editid1={$show_key1}&update=yes';">
if ($_REQUEST["update"]=="yes") { //update secodn table here } |
F
|
fawad112 author 9/4/2008 |
Hi, thanks for the help ... i having some problem again .. |
J
|
Jane 9/5/2008 |
Hi, |
F
|
fawad112 author 9/5/2008 |
Hi jane |
J
|
Jane 9/5/2008 |
Hi, global $conn; if (@$_REQUEST["editid1"]) { $str = "select Field1, Field2 from TableName where RecordID=".$_REQUEST["editid1"]; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $ref = $data["Field1"]; } |