goma smile Posted August 5, 2008 Report Share Posted August 5, 2008 Kads nepateiktu ka php var saskaitit piemeram man ir divu veidu komentari un es gribu apvienot 1 kads nepateiktu ka saskaitit Link to comment Share on other sites More sharing options...
Aleksejs Posted August 5, 2008 Report Share Posted August 5, 2008 $komentars1 = "Pirmais komentārs"; $komentars2 = " un te ir otrais komentārs"; $komentari_kopa = $komentars1 . $komentars2; Sīkāk: http://lv.php.net/manual/en/language.types.string.php Link to comment Share on other sites More sharing options...
werd Posted August 5, 2008 Report Share Posted August 5, 2008 Vai arī: $komentārs.=$tavs_pirmais_komentārs; $komentārs.=$tavs_otrais_komentārs; Link to comment Share on other sites More sharing options...
Mr.Key Posted August 5, 2008 Report Share Posted August 5, 2008 Vai ir jauna terminoloģija radusies? Manuprāt, saskaita skaitļus. Tekstus savieno, apvieno (join, concatenate). Link to comment Share on other sites More sharing options...
Recommended Posts