- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
if
(
!(
(
strlen($chld_phone) == 10 &&
(
substr($chld_phone,0,3) == '087' ||
substr($chld_phone,0,3) == '088' ||
substr($chld_phone,0,3) == '089'
)
) ||
(
strlen($chld_phone) == 12 &&
(
substr($chld_phone,0,5) == '35987' ||
substr($chld_phone,0,5) == '35988' ||
substr($chld_phone,0,5) == '35989'
)
)
)
)
{
//Грешка
}
Lure Of Chaos 22.02.2011 16:13 # 0
TarasB 22.02.2011 16:41 # 0
И всё ровненько, симметричненько.
Lure Of Chaos 22.02.2011 17:16 # 0
guest 22.02.2011 17:39 # −1
- в С++ )
Мистер Хэнки 22.02.2011 18:34 # +3
Lure Of Chaos 22.02.2011 21:46 # 0