L
|
Lisa2006 author 2/15/2008 |
I've replaced part of the previous script as below:- with the physical contents of order_number field value from the posting table. |
J
|
Jane 2/18/2008 |
Lisa, global $conn; $result = mysql_query("SELECT * FROM posting_backup where order_number='".$deleted_values["order_number"]."'"); while($row = mysql_fetch_array($result)) { $strUpdate = "update posting_backup set deleted_status = '1' where order_number = '".$deleted_values["order_number"]."'"; db_exec($strUpdate,$conn); } return true; |
L
|
Lisa2006 author 2/18/2008 |
Thanks Jane, |
L
|
Lisa2006 author 2/18/2008 |
Hi Jane, |
J
|
Jane 2/18/2008 |
Hi, where deleted_status=0 |
L
|
Lisa2006 author 2/18/2008 |
Hi, just add where clause to your SQL query on the Edit SQL query tab:
|