Dynadot โ€” .com Registration $8.99

Help

Spaceship Spaceship
Watch
Impact
19
hey
can any1 tell me how to use php in VBULLETIN template file?

so basically this the template file

PHP:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header

$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">Title</td>
</tr>
<tr>
	<td class="alt1">Text</td>
</tr>
</table>

$footer
</body>
</html>


BUT INSTEAD OF "TEXT" i would like to add

<?php include('./main.php'); ?>

But when i do it..it doesnt work

can any1 please help me out
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try one of these
Code:
<?php include("../main.php"); ?>
<?php include('../main.php'); ?>
 
0
•••
I did
but it doesnt execute any php code :-s

maybe its cuz of the first line tht states

$stylevar[htmldoctype]
?
 
0
•••
Unstoppable Domains
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back