Hello,
I need a button on the Edit Page which redirects you to another tables specific edit page.
So there is only common key is a field called "file_number".
Need to select the same file finding its "ID" by file_number (dosya_no) and redirect me to there.
I tried this:
On Server:
Client After:
But didnt worked out. It only takes me to list page of redirect page.
Need help thanks alot!
I need a button on the Edit Page which redirects you to another tables specific edit page.
So there is only common key is a field called "file_number".
Need to select the same file finding its "ID" by file_number (dosya_no) and redirect me to there.
I tried this:
On Server:
$data2 = $button->getCurrentRecord(); $dosya_no = $data2["dosya_no"]; $rs = DB::Query("select * from dosyalar_all where dosya_no=$dosya_no"); while( $data = $rs->fetchAssoc() ) { $result["record"] = $data["ID"]; }
Client After:
var $data1 = result.record["ID"]; location.href = 'dosyalar_all_edit.php?editid1='+$data1;
But didnt worked out. It only takes me to list page of redirect page.
Need help thanks alot!