No0ne Posted November 17, 2006 Report Share Posted November 17, 2006 hi! nevar man ludzu kads pateikt kas shitajaa kodaa pie velna ir nepareizi? if ($weeks > 0) return "$weeks ".($weeks > 1 ? $tracker_lang['weeks'] : $tracker_lang['week']); nevaru iebraukt.. visadi izmeginajos , tikunta $tracker_lang['vaards'] vietaa paradas tukshums.. visi tie mainiigie man ir nodefineeti.. thx Link to comment Share on other sites More sharing options...
andrisp Posted November 17, 2006 Report Share Posted November 17, 2006 Bet $weeks atgriežas ? Pirms if'a print_r($tracker_lang); pamēģināji ? Link to comment Share on other sites More sharing options...
No0ne Posted November 17, 2006 Author Report Share Posted November 17, 2006 jaa $weeks atgriezjas, un jaa print_r meginaju , bet shaja gadijuma tas ir pilnigi nevieta.. Link to comment Share on other sites More sharing options...
andrisp Posted November 17, 2006 Report Share Posted November 17, 2006 Kods strādā - tev nav definēts $tracker_lang['weeks'] un/vai $tracker_lang['week']. Link to comment Share on other sites More sharing options...
No0ne Posted November 17, 2006 Author Report Share Posted November 17, 2006 psc tiesham .. es skatijos ka citas vietas shitaa fignja stradaja, bet te ne , beigas izradijas ka nebiju pielicis global $tracker_lang; .. paldies tev! Link to comment Share on other sites More sharing options...
andrisp Posted November 17, 2006 Report Share Posted November 17, 2006 Tieši tāpēc es tev teicu, lai pamēģini print_r($tracker_lang) tieši pirms if'ā. A tu - "print_r meginaju , bet shaja gadijuma tas ir pilnigi nevieta"! Link to comment Share on other sites More sharing options...
Recommended Posts