prepare($sql_str); $stmt -> bindParam(':contract_id' ,$contract_id); $stmt -> bindParam(':uscc' ,$uscc); $stmt -> bindParam(':ekind', $ekind); $stmt -> bindParam(':new_elevator_type' ,$new_elevator_type); $stmt -> bindParam(':party_a' ,$party_a); $stmt -> bindParam(':total_price' ,$total_price); $stmt -> bindParam(':account_id' ,$accound_id); $stmt -> bindParam(':times' ,$times); $stmt -> bindParam(':random' ,$random); $stmt -> bindParam(':hash' ,$hash); $stmt -> bindParam(':url' , $url); $stmt -> bindParam(':delivery_term' ,$delivery_term); $stmt -> bindParam(':install_period' ,$install_period); $stmt -> bindParam(':free_maintainance' ,$free_maintainance); $stmt -> bindParam(':created_at' , $created_at); $stmt -> bindParam(':created_by' , $created_by); $stmt -> execute(); }catch(PDOException $e){ die('Error!:'.$e->getMessage()); } }