@SESSION_START("register"); include("../server.php3"); $need[]="pr_name"; $need[]="pr_description"; //$need[]="origin"; //$need[]="quality"; //$need[]="r2"; //$need[]="quantity"; //$need[]="howregular"; //$need[]="ot_quantity"; $need[]="quantaty"; //$need[]="packtype"; //$need[]="ot_requirm"; $need[]="price_cond"; //$need[]="quote"; //$need[]="ot_quotation"; //$need[]="pay_cond"; //$need[]="price_idea"; $need2[]="pr_name"; $need2[]="pr_description"; $need2[]="origin"; $need2[]="quality"; $need2[]="r2"; $need2[]="quantity"; $need2[]="howregular"; $need2[]="ot_quantity"; $need2[]="quantaty"; $need2[]="packtype"; $need2[]="ot_requirm"; $need2[]="price_cond"; $need2[]="quote"; $need2[]="ot_quotation"; $need2[]="pay_cond"; $need2[]="price_idea"; if ($from == "terminal") { $query = "select * from offer_rus where (firm_id='$id' and Number='$Number')"; $result = MYSQL_QUERY($query); while($row = mysql_fetch_array($result)) { $pr_name = $row[pr_name]; $pr_description = $row[pr_description]; $origin = $row[origin]; $quality = $row[quality]; $r2 = $row[r2]; $quantity = $row[quantity]; $howregular = $row[howregular]; $ot_quantity = $row[ot_quantity]; $quantaty = $row[quantaty]; $packtype = $row[packtype]; $ot_requirm = $row[ot_requirm]; $price_cond = $row[price_cond]; $quote = $row[quote]; $ot_quotation = $row[ot_quotation]; $pay_cond = $row[pay_cond]; $price_idea = $row[price_idea]; if($row[firm_id]=$id and $row[Number]=$Number){ $edit=1; } } } ?>