You don't wan't to include php code in the HTML template file. Instead, look in viewtopic.php to see how it outputs data to the template array. Search for $postrow
. Include a line such as:
Code: Select all
'MYDATA' => 'http://database.com?postid=' . $row['post_id'],
... as a basic example.