문제

<a href="<?php /* @escapeNotVerified */ echo $block->getUrl(
                                      'mpquotesystem/sellerquote/quoteedit/id/404/', 
                                      ['_secure' => $block->getIsSecure()]
                                  );?>">

I want to give number is dynamic

echo $block->getUrl('mpquotesystem/sellerquote/quoteedit/id/404/', //404 -

here I want to give $id how I can do this

도움이 되었습니까?

해결책

Try following way

<a href="<?php /* @escapeNotVerified */ echo $block->getUrl(
                                  'mpquotesystem/sellerquote/quoteedit', 
                                  ['id'=> $id,'_secure' => $block->getIsSecure()]
                              );?>">
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top