bumbieriic Posted February 13, 2005 Report Share Posted February 13, 2005 if($_GET['id']=="kautkas"){ include("sazinkas.php"); kods jau pats strādā, bet tad problēma undefined index kas tur īsti ir jāuzraksta, lai darbotos kā nākas? :( Link to comment Share on other sites More sharing options...
bubu Posted February 13, 2005 Report Share Posted February 13, 2005 A varbūt nevajag vienu un to pašu jautājumu uzdot vairāk kā vienā vietā?? Citādi, kas, man atbilde jāraksta būs visās vietās. Skatīt šo: http://php.lv/f/index.php?act=ST&f=11&t=2023&st=0# Link to comment Share on other sites More sharing options...
hu_ha Posted February 13, 2005 Report Share Posted February 13, 2005 if($_GET['id']=="kautkas"){ include("sazinkas.php");[/quote] Uz if(isset($_GET['id']) && $_GET['id']=="kautkas"){ include("sazinkas.php"); bet tad uzreiz liec include vietā include_once, citādāk var uzpeldēt atkal problēmas... Link to comment Share on other sites More sharing options...
blackhalt Posted February 13, 2005 Report Share Posted February 13, 2005 kods jau pats strādā, bet tad problēma undefined index 13678[/snapback] Tas laikam ir Notice errors. uzliec: <?php error_reporting(0); // ?> Link to comment Share on other sites More sharing options...
Recommended Posts