Boileris Posted April 23, 2005 Report 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:
Kraz Posted April 23, 2005 Report 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
Boileris Posted April 23, 2005 Author Report 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 :(
hu_ha Posted April 23, 2005 Report 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
hu_ha Posted April 23, 2005 Report 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>
Recommended Posts