אשכול: בעיה בPHP
View Single Post
ישן 03-04-06, 15:53   # 2
-roee-
חבר על
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
מיקום: IL
הודעות: 864

-roee- לא מחובר  

PHP קוד:
<?php
///////////// index file


//$page = $_GET["page"];
if($page == "x"// if index.php?page=x, it will include x.php
{
@include(
"x.php");
} elseif(
$page == "news"// if index.php?page=news, it will include news.php
{
@include(
"news.php");
} elseif(
$page == ""// if isset page for index, it will print indextables.php
{
@include(
"indextables.php")
}
?>
__________________
בברכה,
רועי
  Reply With Quote