panzer8 Posted August 9, 2005 Report Share Posted August 9, 2005 Nesen saaku maaciities php, uzrakstiiju pirmo skriptu un priekshaa errors Parse error: parse error in [atrashanaas vieta] on line 11 ko tas noziimee? Vareetu kaads pateikt kur internetaa var dabuut sarakstu ar tiem errora skaitljiem un paskaidrojumu piemeeram parse error in [blabla'] on line [skaitlis]- noziimee ka ... Link to comment Share on other sites More sharing options...
ohmygod Posted August 9, 2005 Report Share Posted August 9, 2005 (edited) parse error - nevar nopaarseet, jo rindaa, kas noraadiita aiz " on line" ir iemetusies sintakses kljuuda. Kljuuda var buut arii kaadaa blakus rindaa... Parādi attieciigo rindinju no atieciigaa faila un te tev cilveeki pastaastiis, kur kljuuda iemetusies... Edited August 9, 2005 by ohmygod Link to comment Share on other sites More sharing options...
Venom Posted August 9, 2005 Report Share Posted August 9, 2005 ņem vārdnīcu un tulko, ko tieši saka. ļoti precīzi saka. Link to comment Share on other sites More sharing options...
panzer8 Posted August 9, 2005 Author Report Share Posted August 9, 2005 Parādi attieciigo rindinju no atieciigaa faila un te tev cilveeki pastaastiis, kur kljuuda iemetusies... 20613[/snapback] nu man te taa- <? if ($skaitlis>20) { print (''skaitlis ir 20 vai lielaaks''); } elseif ($skaitlis<10) { print (''skaitlis ir 10 vai lielāks''); } else{ } print (''skaitlis ir lielāks par 10 bet mazāks par 20''); } ?> Link to comment Share on other sites More sharing options...
Kristabs Posted August 9, 2005 Report Share Posted August 9, 2005 (edited) lieto doublequote " vai vienu singlqoute ' nevis divas singlequotes '' neliec divas vienpeedinjas vienaa galaa, bet dubultpeedinju vai vienu vienpeedinju un veel lieto echo "sdasd"; echo 'asdasda'; nevis print aa, jaa veel shitaa vieta: else{ } //<- lieks print (''skaitlis ir lielāks par 10 bet mazāks par 20''); } Edited August 9, 2005 by Kristabs Link to comment Share on other sites More sharing options...
rudzis Posted August 9, 2005 Report Share Posted August 9, 2005 Par daudz kontūriekavu. Un vispār nevar saprast, ko tu tur īsti esi domājis. Link to comment Share on other sites More sharing options...
panzer8 Posted August 9, 2005 Author Report Share Posted August 9, 2005 vai cipari skaitaas specifiski simboli kuri jaaliek \\ lai php interpretators to saprastu kaa parastu textu? :unsure: Link to comment Share on other sites More sharing options...
bubu Posted August 9, 2005 Report Share Posted August 9, 2005 (edited) nesapratu jautājumu Edit: eh.. tā ir ka jaunatne tagad sāk programmēt interpretējamā valodā, nevis kompilējamā.. Tad tādu problēmu nebūtu. Edited August 9, 2005 by bubu Link to comment Share on other sites More sharing options...
v3rb0 Posted August 9, 2005 Report Share Posted August 9, 2005 sitaa ~ <? $skaitlis = 12; if ($skaitlis>20) { echo 'lielaks par 20'; } else if ($skaitlis < 10) { echo 'mazaks par 10'; } else { echo 'no 10-20 ieskaitot'; }?> Link to comment Share on other sites More sharing options...
panzer8 Posted August 9, 2005 Author Report Share Posted August 9, 2005 (edited) aa, jaa veel shitaa vieta: else{ } //<- lieks print (''skaitlis ir lielāks par 10 bet mazāks par 20''); } 20618[/snapback] iisti tevi nesapratu. Edited August 9, 2005 by panzer8 Link to comment Share on other sites More sharing options...
Kristabs Posted August 9, 2005 Report Share Posted August 9, 2005 (edited) aiz // seko komentaars kuru php interpretators saprot kaa 'nevajag izpildiit' koda dalju doma bija vienkaarshi, ka jaanonjem taa figuuriekava aiz kuras es pievienoju komentaaru bija gadiijies, ka divi reizee nopustee, bet triis.. :) Edited August 9, 2005 by Kristabs Link to comment Share on other sites More sharing options...
rudzis Posted August 9, 2005 Report Share Posted August 9, 2005 (edited) :) Visi reizē postē, un neviens neko vairs nesaprot. Edited August 9, 2005 by rudzis Link to comment Share on other sites More sharing options...
panzer8 Posted August 9, 2005 Author Report Share Posted August 9, 2005 plus miinus sanaaca Link to comment Share on other sites More sharing options...
Ugga Posted August 9, 2005 Report Share Posted August 9, 2005 (edited) rudzis Posted Today, 16:20 :) Visi reizē postē, un neviens neko vairs nesaprot. es pievienojos :D Edited August 9, 2005 by Ugga Link to comment Share on other sites More sharing options...
ohmygod Posted August 9, 2005 Report Share Posted August 9, 2005 plus miinus sanaaca 20626[/snapback] tad plus vai miinus? nevar taa - daljeeji sanaakt. Vainu sanaak, vainu nee... Link to comment Share on other sites More sharing options...
Recommended Posts