» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 68
0 members and 68 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
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 electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on Putting Include code into a block within the Nuke 6.5 to 6.9 - Blocks forums, part of the PHP-Nuke 6.5 to 6.9 category; I am creating a new block for my phpNuke site. www.armouredelites.net and i just wanted to know howto ...



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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2003, 03:58 PM
Junior Member
 
Join Date: Jul 2003
Posts: 14
Putting Include code into a block
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
  #2 (permalink)  
Old 08-07-2003, 04:05 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
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
  #3 (permalink)  
Old 08-07-2003, 04:08 PM
Junior Member
 
Join Date: Nov 2002
Location: Fort Payne, AL
Posts: 90
Send a message via ICQ to ShRapNeR Send a message via AIM to ShRapNeR Send a message via MSN to ShRapNeR Send a message via Yahoo to 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-07-2003, 04:10 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
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
  #5 (permalink)  
Old 08-07-2003, 04:26 PM
Junior Member
 
Join Date: Jul 2003
Posts: 14
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
  #6 (permalink)  
Old 08-07-2003, 04:28 PM
Junior Member
 
Join Date: Jul 2003
Posts: 14
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


All times are GMT -5. The time now is 04:47 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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