Link" in PHP; or echo " Home >Backend Development >PHP Tutorial >Add PHP variable as href link address in echo statement? or The above is the detailed content of Add PHP variable as href link address in echo statement?. For more information, please follow other related articles on the PHP Chinese website!Add PHP variable as href link address in echo statement?
HTML in PHP
echo "<a href='".$link_address."'>Link</a>";
echo "<a href='$link_address'>Link</a>";
HTML in PHP
<a href="<?php echo $link_address;?>"> Link </a>
Related articles
See more