Jump to content
php.lv forumi

silly question par include


vitao.web

Recommended Posts

Sveiki!

 

Vai kads nevar iedot kadu linku, vai pateikt pec ka tiesi meklet google sadu lietu.

 

Respectivi zinu, ka var izveidot majas lapu pa dalam,..

 

ka piemers:

<?php include ("../../tiles/db.php");?>
<?php
{
include("tiles/top.php");
include("tiles/labais.php");
include("tiles/home.php");
include("tiles/bottom.php");
}


if ($sadala==2){

   include("tiles/top.php");
include("tiles/labais.php");
include("tiles/pievienot_rakstu.php");
include("tiles/bottom.php");

 

bet kad izmantoju menu un ievadu to adresi ?sadala=2 vai kka ta tad man neradas lapa..

Gribetos kkur palasit pa visu sito labak, lai pats saprastu kas ko ka :) Paldies!

Edited by vitao.web
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...