Help

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Namecheap AuctionsNamecheap Auctions
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
•••
Appraise.net

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
URLs.com
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back