how to use geturl function to custom page in php value in magento 2
문제
<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()]
);?>">
제휴하지 않습니다 magento.stackexchange