0
What PHP code will echo or print the redirect link without getting us redirected in front end?
Suppose we have a link https://abcd which will redirect us to link https://134 when we click on it. How can I echo https://134 link without getting redirected to that webpage?
1 ответ
0
You need to send the url from php as a string, and then put it in the href of an <a> tag in html. so you code will look something like:
<a href="<?php echo $url; ?>">Link name</a>