Welcome, Guest. Please Login or Register.
May 03, 2024, 01:30:10 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  including the board in a table « previous next »
Pages: [1] Reply Ignore Print
Author Topic: including the board in a table  (Read 1907 times)
PHPlugin
Sr. Member
****
Posts: 465


WWW
including the board in a table
« on: December 22, 2001, 01:00:29 AM »
Reply with quote

how do I include the index.php from the board in a table?
(like here on this site, where is the board and the links on the left!)

i tried include("yabbse/index.php");
but then i get:

Warning: Cannot add header information - headers already sent by (output started at C:\apache\htdocs\homepage\erz\erz.php4:25) in C:\apache\htdocs\homepage\erz\yabbse\Sources\Load.php on line 48

Warning: Cannot add header information - headers already sent by (output started at C:\apache\htdocs\homepage\erz\erz.php4:25) in C:\apache\htdocs\homepage\erz\yabbse\Sources\Load.php on line 49

Warning: Cannot add header information - headers already sent by (output started at C:\apache\htdocs\homepage\erz\erz.php4:25) in C:\apache\htdocs\homepage\erz\yabbse\Sources\Load.php on line 50

Warning: Cannot add header information - headers already sent by (output started at C:\apache\htdocs\homepage\erz\erz.php4:25) in C:\apache\htdocs\homepage\erz\yabbse\Sources\Load.php on line 51

Warning: Cannot add header information - headers already sent by (output started at C:\apache\htdocs\homepage\erz\erz.php4:25) in C:\apache\htdocs\homepage\erz\yabbse\Sources\Subs.php on line 122

Warning: Cannot add header information - headers already sent by (output started at C:\apache\htdocs\homepage\erz\erz.php4:25) in C:\apache\htdocs\homepage\erz\yabbse\Sources\Subs.php on line 123

any idea? hm ...
Logged
Jay Silverman
Full Member
***
Posts: 189


And So It Begins.

ICQ - 213566 WWW
Re:including the board in a table
« Reply #1 on: December 22, 2001, 01:36:48 AM »
Reply with quote

All the stuff on this page is just in the template, not included like that.
Logged
PHPlugin
Sr. Member
****
Posts: 465


WWW
Re:including the board in a table
« Reply #2 on: December 22, 2001, 02:19:22 AM »
Reply with quote

ahh damn ok!  :D
Logged
PHPlugin
Sr. Member
****
Posts: 465


WWW
Re:including the board in a table
« Reply #3 on: December 22, 2001, 02:28:40 AM »
Reply with quote

hmm but i dont know how this is workin!  :(

ive a site with left the login and the links, and right the
poll and user online etc .. and in the middle there is the main table where i include the files!

when i click on "home" i set the link:

index.php?link=home

and then in the main table in the middel i have ->
<? include("$link.php"); ?>

so he includes the file home.php .. but now i want there to see the forum, when i click on forum!

so ive to redesign and reprog my whole site?

hmm .....

thanks for every help!

Logged
alexrolko
Guest
Re:including the board in a table
« Reply #4 on: December 22, 2001, 03:50:28 AM »
Reply with quote

Try explaining that again.  :-\
Logged
PHPlugin
Sr. Member
****
Posts: 465


WWW
Re:including the board in a table
« Reply #5 on: December 22, 2001, 03:43:35 PM »
Reply with quote

Okay I try:

I am a newbie in PHP, so Im testing with PHP offline!
There for I have downloaded PHP Triad! There is included
PHP, Apache, MySQL, Perl and MySQLAdmin!
So there is a folder C:/apache/htdocs
In this folder I've to save my php files to run them on my PC!
In there I've another folder "homepage" in it a folder "erz" (which is the name of a clan in which I am)!
And there is a file "index.php"!

There is a table with 3 columns, the right is 160 px and the left is also 160 px!
The middle is the rest! In the left column ive some other tables (one with the links [home, gb, fourm etc.] and a member login)!
Now when i click on "news" i set a link on "index.php?link=news"!
SO he gets the same site (index.php) but he sets the variable link to "news"!
And in the MIDDLE column ive:

<? include("$link.php"); ?>

so he includes some code which is standing in news.php!
And now when i click on "forum" he should set the link on "index.php?link=yabbse/index.php" !
so he should include("yabbse/index.php");

But there I get many errors (with the header) etc ...

SO how can i include the forum in the middle column (without adding frames in my homepage)!

Look here, on this page, here is also the forum on ONE site with the links on top and left!

How can I solve this problem?

THANKS!
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  including the board in a table « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.025 seconds with 20 queries.