Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 46
0 members and 46 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas Electric Choice

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
Putting Include code into a block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jul 2003
Putting Include code into a block - 08-07-2003, 03:58 PM

I am creating a new block for my phpNuke site. www.armouredelites.net and i just wanted to know howto put <?php include "url" ?> into the $content .= " ";
ive tried
$content .= "<?php include \"url\" ?>"; but i get a parse error
$content .= "include \"url\""; but i get include "url" on my block

If anyone can help me it would be great
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
08-07-2003, 04:05 PM

try changing the whole block like this
Code:
 $content .= "".include("url.php")."";


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 90
Join Date: Nov 2002
Location: Fort Payne, AL
08-07-2003, 04:08 PM

well... as i WAS typing the exact same thing below. i happend to glance down and see that might_y has already answerd.. so there is no need of me to post this.





* walks away smiling, as he knows he has just spammed the boards again
 Send a message via ICQ to ShRapNeR Send a message via Yahoo to ShRapNeR Send a message via AIM to ShRapNeR Send a message via MSN to ShRapNeR  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
08-07-2003, 04:10 PM

Quote:
Originally Posted by ShRapNeR
well... as i WAS typing the exact same thing below. i happend to glance down and see that might_y has already answerd.. so there is no need of me to post this.





* walks away smiling, as he knows he has just spammed the boards again
lol, good job but you have to do one heck of a spam thing to get me of Spam Place 4


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jul 2003
08-07-2003, 04:26 PM

thx..

Only prob now is that it wont display in the block. its above it and in the block i get a 1
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jul 2003
08-07-2003, 04:28 PM

Quote:
<?php
$content .= "".include("http://www.armouredelites.net/news/news.php")."";
?>
Thats what i have in my block-News script.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
php include tags don't work AlexDaBrit Nuke 7.x - General 0 12-21-2006 07:00 AM
html code for block Rusty Site design 1 08-09-2003 05:49 AM
Putting lines in Modules block CuJo Nuke 6.5 to 6.9 - Modules 2 08-08-2003 05:08 AM
Include other PHP Pages strull Nuke 6.5 to 6.9 - Modules 1 08-07-2003 12:31 PM
Putting a movie in a block how to do this. SureFire Purged Topics 0 08-03-2003 09:10 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31