Menu
I have this code that sends the viewer to a link within my php. I am wondering if I could create multiple links within one php file instead of making a new file for every link. If I am not making sense (most likely not), please tell me and I will do my very best to elaborate. Thanks for your help and have a good day…
Link3 PHP:
<?php
header(‘Location:[url]
die();
$f = fopen(‘demo.txt’,’w+’);
fwrite($f,’Test’);
fclose($f);
?>
HTML:
<a href=”/link3.php” class=”sLinks”>Scholarship for Dads</a>