kocak37 Posted July 13, 2012 Share Posted July 13, 2012 arkadaşlar ben izlediğim eğitim setinden aynısını yapıyorum holmuyor şimdi yeni üye kaydi diye bir link var fakat bu linke gitmiyor (index.php?Git=uyehesabi&sayfa=yeniuyekaydi) bu linke tıklandığında sayfalardan uyehesabi içindeki index.php ye gidecek ) uye hesabındaki inedx.php function index(){ } function yeniuyekaydi(){ echo"burası yeni üye kaydı"; } $_sayfa=$_GET["sayfa"]; switch($_sayfa){ default: index(); break; case "yeniuyekaydi"; yeniuyekaydi(); break; } case \"yeniuyekaydi\"; yeniuyekaydi(); break;} birde case.php var case.php error_reporting(0) ; $git=$_GET["git"]; switch($git){ default: include("sayfalar/anasayfa/index.php"); break; case"uyehesabi": include("sayfalar/uyehesabi/index.php"); break; } Quote Link to comment Share on other sites More sharing options...
baris_42 Posted July 13, 2012 Share Posted July 13, 2012 swich function case bileşini olması lazım ama sende switch Yani geçiş komtunu başta tanımlamam gerekiyor Quote Link to comment Share on other sites More sharing options...
kocak37 Posted July 16, 2012 Author Share Posted July 16, 2012 sorun çözdüm harf hatası var yani (index.php?Git=uyehesabi&sayfa=yeniuyekaydi) Git değil git olacak Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.