Rush-Tm* Posted December 24, 2008 Report Share Posted December 24, 2008 <?php /* Write code inserting output inside variable $content as in following example. You have DB connection, all global vars and all MKPortal and Forum functions at your availability */ $nome = $mkportals->member['name']; $content="Hi $nome"; ?> Taisu jaunu page, iekš mkportal, tur ir šis kods automatiski, meģnināju likt include("bans/ban_list.php") iekš content bet tad viņs parāda tikai baltu lapu. kādam ir idejas kur tas include jaliek? Vai vismaz ar iframe. Link to comment Share on other sites More sharing options...
Bertuliinii Posted December 24, 2008 Report Share Posted December 24, 2008 Met ar iframe iekšā. Link to comment Share on other sites More sharing options...
Rush-Tm* Posted December 24, 2008 Author Report Share Posted December 24, 2008 Nu tad ieliec to iframe iekš tā php koda Jo es tur visādi izmēģināju, bet nesanak. Var tikai arpus tā koda un tad sanak ka virs lapas headera viss parādās. Link to comment Share on other sites More sharing options...
OneSKILL Posted December 24, 2008 Report Share Posted December 24, 2008 (edited) <?php /* Write code inserting output inside variable $content as in following example. You have DB connection, all global vars and all MKPortal and Forum functions at your availability */ $nome = $mkportals->member['name']; $content="<center><iframe src=http://lapele.lv width=platums height=augstums frameborder=0></iframe></center>"; ?> Edited December 24, 2008 by OneSKILL Link to comment Share on other sites More sharing options...
Rush-Tm* Posted December 24, 2008 Author Report Share Posted December 24, 2008 Iframe baigi leimīgi. Link to comment Share on other sites More sharing options...
Kavacky Posted December 25, 2008 Report Share Posted December 25, 2008 Ieslēdz error reportingu un paskaties, kāpēc met baltu lapu. "error_reporting(E_ALL);" koda sākumā un vēl php.ini failā to pašu + display_errors On. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now