![]() |
PHP not working - what am I doing wrong.
Ok so I am making a custom vBulletin page using VB templates (used the article to make)
and the article said that to make a page inside a file you use. PHP Code:
I have placed the code after the ?> and there are no errors, it just doesn't appear. Can you please tell me what I am doing wrong. Thanks, C |
Code:
if($_REQUEST['do'] == 'why'){ . |
Also, VIP_WHY is not the same template as vip_why.
|
Thanks for the replys..
@Seven Skins: That was a C&P error of mine, the file actually has PHP Code:
|
That line must be before any other print_output() call. That is what I think the error is.
|
Can you access any other PHP files, or do they all display contents? If so, does your host support PHP files? If yes, you will need to ask your host to configure PHP file type correctly for your account.
|
Why don't you post the code for your php page and your template here. Make sure to use the php/html code tags.
|
Okie Dokie here is the vip.php file.
PHP Code:
HTML Code:
$stylevar[htmldoctype] |
PHP Code:
|
Once you have an eval print_output, that's it. You need to have yours before the other one. Something more like this:
PHP Code:
|
All times are GMT. The time now is 01:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|