Jump to content
  • 0

Как сделать такие страницы?


vvsh
 Share

Question

12 answers to this question

Recommended Posts

  • 0

примитив:

index,php

<?php

if($_GET['id'] == 1){

echo "

код первой страницы..... <a href="index.php?id=2">2</a>

";

}elseif($_GET['id'] == 2){

echo "

код второй страницы.... <a href="index.php?id=1">1</a>

";

} else {

echo " <a href="index.php?id=1">1</a> | <a href="index.php?id=2">2</a>";

}

?>

а вообще-то данные должны выводиться с базы...

Link to comment
Share on other sites

  • 0

Вс? равно твой самый простой вопрос будет вызывать еще 10 посложнее. Тебе нужно хотябы что-то почтитать по проектированию, или дождаться, когда это само придет. С нулевыми знаниями это примерно как увидеть рабочую машину и спросить, как можно сделать такую-же форму. Форму-то ты сделаешь, а ездить она у тебя не будет :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy