Re: Reply to Topic Link Not Working
I figured out what the problem was, although I’m not sure how to fix it (I’m still learning PHP). The problem is this PHP code which I have in an include (along with all my code for the site’s navigation):
<?php
// Extracts the file name from the file name
$path = $_SERVER;
$page = basename($path);
$page = basename($path, ‘.php’);
?>
The code extracts the the file name from the file to select the current tab in my navigation. When I remove this section of code, the Reply form appears and works as normal. Is the problem having PHP code in an include file?