Sappy Posted April 2, 2008 Report Share Posted April 2, 2008 $race_xp = $race_xp_before + $cik_exp_pievienot; Pēc visa tā man ievadot derīgu kodu izmet Parse error: syntax error, unexpected T_VARIABLE in /var/www/web15/web/sms/war3/warval.php on line 35 Pilnais kods šeit Link to comment Share on other sites More sharing options...
martins256 Posted April 2, 2008 Report Share Posted April 2, 2008 $cik_exp_pievienot = 10000 nav ";" Link to comment Share on other sites More sharing options...
Sappy Posted April 2, 2008 Author Report Share Posted April 2, 2008 (edited) Pieliekot to man izmet Parse error: syntax error, unexpected '}' in /var/www/web15/web/sms/war3/warval.php on line 42 Ok, noņemu '}' un izmet Parse error: syntax error, unexpected '}' in /var/www/web15/web/sms/war3/warval.php on line 43 To noņemot izmet Parse error: syntax error, unexpected T_ELSEIF in /var/www/web15/web/sms/war3/warval.php on line 43 Pilnīga nesaprašana :/ Edited April 2, 2008 by Sappy Link to comment Share on other sites More sharing options...
777 Posted April 2, 2008 Report Share Posted April 2, 2008 iemet to savu kodu un miers Link to comment Share on other sites More sharing options...
Kavacky Posted April 2, 2008 Report Share Posted April 2, 2008 Kas par nesaprašanu? Elementāra ābeces nesaprašana? Lasi, kas tev tur rakstīts, palasies par PHP sintaksi un meklē kļūdas, ibio. Link to comment Share on other sites More sharing options...
indoom Posted April 2, 2008 Report Share Posted April 2, 2008 $cik_exp_pievienot = 10000 nav ";" un aiz if ($result == 'key_ok') vajag { un noņemt pirms elseif un else } Noformē tekstu ar pareizām atkāpēm no malas, tad būs pašam vieglāk tādas kļūdas ieraudzīt Link to comment Share on other sites More sharing options...
Sappy Posted April 2, 2008 Author Report Share Posted April 2, 2008 Paldies - izdevās. Link to comment Share on other sites More sharing options...
Recommended Posts