Boileris Posted April 23, 2005 Report Share Posted April 23, 2005 kad palaid $i=0; while(++$i<=5) print $i; ekraana malaa paraadaas "12345" kaa dariit, lai "12345" paraadiitos ekraana viduu?? :unsure: Link to comment Share on other sites More sharing options...
Kraz Posted April 23, 2005 Report Share Posted April 23, 2005 (edited) kad palaid $i=0; while(++$i<=5) print $i; ekraana malaa paraadaas "12345" kaa dariit, lai "12345" paraadiitos ekraana viduu?? :unsure: 16830[/snapback] <div align="center">teksts_kas_vidū_te</div> Edited April 23, 2005 by Kraz Link to comment Share on other sites More sharing options...
Boileris Posted April 23, 2005 Author Report Share Posted April 23, 2005 :( ja taa dariit, tad viss viss ekraana viduu paraadaas shaadi 1 2 3 4 5 bet man vajadzeetu lai buutu 12345 vienaa rindaa ekraana viduu :( Link to comment Share on other sites More sharing options...
hu_ha Posted April 23, 2005 Report Share Posted April 23, 2005 (edited) pieturēsimies pie css specifikācijas <? $i=0; while(++$i<=5) echo '<div style="text-align:center">'.$i.'<div>'; Edited April 23, 2005 by hu_ha Link to comment Share on other sites More sharing options...
hu_ha Posted April 23, 2005 Report Share Posted April 23, 2005 bet man vajadzeetu lai buutu 12345 vienaa rindaa ekraana viduu :( 16832[/snapback] <? $rez=''; $i=0; while(++$i<=5) $rez.=$i; ?> <div style="text-align:center"><?=$rez;?><div> Link to comment Share on other sites More sharing options...
Boileris Posted April 23, 2005 Author Report Share Posted April 23, 2005 :) paldies straadaa Link to comment Share on other sites More sharing options...
Recommended Posts