McJanis Posted January 24, 2007 Report Share Posted January 24, 2007 Kā var ielikt php skriptus iekš HTML ? Link to comment Share on other sites More sharing options...
Val Posted January 24, 2007 Report Share Posted January 24, 2007 <!-- html kods //--> <?php //te nāk tavs php ?> <!-- atkal html//--> Link to comment Share on other sites More sharing options...
andrisp Posted January 24, 2007 Report Share Posted January 24, 2007 Un neaizmirsti, ka faila nosaukumam jābūt ar paplašinājumu .php Link to comment Share on other sites More sharing options...
McJanis Posted January 24, 2007 Author Report Share Posted January 24, 2007 liels paldies Link to comment Share on other sites More sharing options...
Stopp Posted January 24, 2007 Report Share Posted January 24, 2007 Val, kāpēc tu komentos liec //? Link to comment Share on other sites More sharing options...
andrisp Posted January 24, 2007 Report Share Posted January 24, 2007 Varbūt tāpēc, ka php komentus sāk ar // ? Bet ja nopietni - kas tur slikts, ka pieturas pie smuki noformētiem piemēriem ? Link to comment Share on other sites More sharing options...
bubu Posted January 24, 2007 Report Share Posted January 24, 2007 Jā, vai ne.. php komentus SĀK ar //, bet html komentus JĀBEIDZ ar //. Tas ir smuki noformēts? :) Link to comment Share on other sites More sharing options...
Val Posted January 24, 2007 Report Share Posted January 24, 2007 Kāda vaina <!-- wtf //--> komentāra blokam? Link to comment Share on other sites More sharing options...
Stopp Posted January 24, 2007 Report Share Posted January 24, 2007 html komentus JĀBEIDZ ar //Kopš kura laika? Iz w3.org: HTML comments have the following syntax: <!-- this is a comment --> <!-- and so is this one, which occupies more than one line --> Link to comment Share on other sites More sharing options...
bubu Posted January 24, 2007 Report Share Posted January 24, 2007 Tas nebija domāts, ka tā IR jādara. Tas bija domāts uz andrisp teikto - tipa, ka vai viņš uzskata, ka tā ir jādomā? Link to comment Share on other sites More sharing options...
Val Posted January 24, 2007 Report Share Posted January 24, 2007 laikam sapratu, ka jezga sākās manis dēļ. Vainīgas laikam ir dalīšanas zīmes: <!-- vienalga //--> Kāpēc rakstu? - pieradums/atkarība :) Link to comment Share on other sites More sharing options...
andrisp Posted January 24, 2007 Report Share Posted January 24, 2007 Vaj, tos //--> nemaz neievēroju :). Link to comment Share on other sites More sharing options...
Val Posted January 24, 2007 Report Share Posted January 24, 2007 Nav nekāds Vaj ;) Link to comment Share on other sites More sharing options...
blackhalt Posted January 25, 2007 Report Share Posted January 25, 2007 piesējās. sāc ar # Link to comment Share on other sites More sharing options...
andrisp Posted January 25, 2007 Report Share Posted January 25, 2007 Val, tā arī es domāju - Vaj - kā no vārda "Vai". :) Link to comment Share on other sites More sharing options...
Recommended Posts