Need help on PHP

dark_cloud2007

New Member
Messages
54
Reaction score
0
Points
0
its corporate,

but do I only need to add this?

Code:
<?php [/color][color=#007700]include([/color][color=#dd0000]'http://staff.x10hosting.com/adCode.php?ad=corporate'[/color][color=#007700]); [/color][color=#0000bb]?>
 
Last edited:

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
Yea, that will include all of the necessary HTML markup and Javascript to have the ads show.
 

dark_cloud2007

New Member
Messages
54
Reaction score
0
Points
0
ok, I know what to do now.. but where would I be adding that script at?

do I have to added in the index.php file or where? I used PHP-NUKE 7.8
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
If it was advanced you could just add it at the end of your index.php file, because there is no requirement as to where it needs to be. But seeing that it's corporate you have to add it at the top (before <?php -but that is ugly- or somewhere in your code so it displays, so people won't have to scroll down).
 
Last edited:

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
dark_cloud2007 said:
ok, I know what to do now.. but where would I be adding that script at?

do I have to added in the index.php file or where? I used PHP-NUKE 7.8
Try at the very top of the header.php Thats were I always had it and it worked just fine.
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
Lol, if you know what you're doing... It should only take you a few minutes to figure it out and get it in there and fired up on your website. But I guess if you lack the knowledge in PHP than it could take a bit longer. I guess...:hsdance:
 
Top