Author Topic: Another page displayed in column  (Read 3017 times)

Offline diodak

  • Posts: 85
Another page displayed in column
« on: August 07, 2007, 09:13:43 AM »
I made: http://spojnia.osno.info/, the right column come from database, i made hidden page and i get it by:

Code: [Select]
// zapytanie do bazy danych
        $wynik = mysql_query("SELECT * FROM wbmod_wysiwyg WHERE page_id='25'")
        or die("Błąd w zapytaniu!");
         
        mysql_close();
    }
    else echo "Nie mogę połączyć się z bazą danych!";
     
    // wyświetlany wyniki zapytania
    while($rek = mysql_fetch_array($wynik)) {
        echo $rek['content'];

Which isn`t good idea, i guess.

My question is: how to display page in this column similiray to :

Code: [Select]
<?php page_content(); ?>
Regards.
Buchsbaum

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male

Lotus

  • Guest
Re: Another page displayed in column
« Reply #2 on: February 22, 2008, 11:06:56 AM »
Did you mean "Global boxes"? You´ll find similar solutions as yours in the forum. I did a feature request and later in the tread i posted some solutions others have found.

https://forum.WebsiteBaker.org/index.php/topic,8731.0.html

 

postern-length