I am working on a site and the builders have used a mix of php and html for links. For example:
<li><a href="variable-frequency-drives.php">Variable Speed Drives</a></li>
<li><a href="corrosion-resistant-baseplates.php">Corrosion Resistant Baseplates</a></li>
and
<li><a href="<?php echo $external_video_link?>MP_PUMP.html" target="_blank">MP Repair</a></li>
<li><a href="<?php echo $external_video_link?>MTA_PUMP.html" target="_blank">MTA Repair</a></li>
The php is referenced in another file in this way:
<?php
$pdf_link = "../pdf/";
$external_pdf_link = "../../pdf/";
$video_link = "../video/";
$external_video_link = "../../video/";
?>
My concern is not knowing the function of the php, other than it being a placeholder, and given that the links work both ways, I don't want to break something because I am clueless to its purpose.
In doing my due diligence researching, I ran across this post, which is close, but still no cigar, Add php variable inside echo statement as href link address?. All of the research seems to be about how rather than why. This is the site, and they only used it for the "Downloads" links: http://magnatexpumps.com/
Thank you... B