neo Posted February 23, 2006 Report Share Posted February 23, 2006 Ieliku error_reporting(E_ALL) lai paskatiitos kluudas skriptaa. Vinh man paraada : Notice: Use of undefined constant p - assumed 'p' in /cels/lidz/skriptam/test.php on line 12 Skriptaa esmu ielicis paarbaudi: if(isset($_GET[p])) { } Kaapeec man buutu jaadefinee shis mainiigais? Link to comment Share on other sites More sharing options...
goldy Posted February 23, 2006 Report Share Posted February 23, 2006 tev būtu jāraksta $_GET['p'] Link to comment Share on other sites More sharing options...
bubu Posted February 23, 2006 Report Share Posted February 23, 2006 Kaapeec man buutu jaadefinee shis mainiigais? Petjautājums: kā lai php zin (jeb uzmin) visu tavis izdomāto mainīgo vērtības? Link to comment Share on other sites More sharing options...
neo Posted February 23, 2006 Author Report Share Posted February 23, 2006 Nu ja, taisniiba jau vien ir :) Link to comment Share on other sites More sharing options...
goldy Posted February 23, 2006 Report Share Posted February 23, 2006 Notice: Use of undefined constant .... vispār jau nu nozīmē ka nav definēta KANSTANTE nevis mainīgais, tāpēc arī vajag rakstīt $_GET['p'] nevis $_GET[p], starpību jūtat Link to comment Share on other sites More sharing options...
Recommended Posts