登录 | 注册 | FAQ
Anonymous

eto srochno

+ 发表回复

3 篇帖子 分页: 1 / 1


eto srochno

Muminbek » 周五 8月 05, 2011 9:31 pm

some text1 text2 text3 text4 text5
some text1 text2 text3 text4 text
some text1 text2 text3 text4 tex
some text1 text2 text3 text4 te
some text1 text2 text3 text4 t
some text1 text2 text3 text4
some text1 text2 text3 text
some text1 text2 text3 tex
some text1 text2 text3 te
some text1 text2 text3 t
some text1 text2 text3
some text1 text2 text
some text1 text2 tex
some text1 text2 te
some text1 text2 t
some text1 text2
some text1 text
some text1 tex
some text1 te
some text1 t
some text1
some text
some tex
some te
some t
some
som
so
s
=end=

Kak sdelat eto pomoshyu php?
头像

Muminbek

  • 帖子: 4
  • 注册: 周四 6月 23, 2011 6:49 am

Re: eto srochno

HTML.net » 周六 8月 06, 2011 7:51 am

$str = 'some text1 text2 text3 text4 text5';
$x = strlen($str);
while ($x > 0) {
echo substr($str, 0, $x) . "<br />";
$x = $x - 1;
}

- Andreas, HTML.net
头像

HTML.net
Site Admin

  • 帖子: 1194
  • 注册: 周六 9月 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: eto srochno

Muminbek » 周六 8月 06, 2011 9:36 am

spasibo!
头像

Muminbek

  • 帖子: 4
  • 注册: 周四 6月 23, 2011 6:49 am


+ 发表回复

分页: 1 / 1