- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
function tegs($str){
if(!empty($str)){
$tegs = explode(',', $str);
$all_tegs = count($tegs);
$str_Tegs = '<a href="/tegs.php?search='.$tegs['0'].'">'.$tegs['0'].'</a>';
for($i = 1; $i<=$all_tegs-1; $i++){
$str_Tegs .= ', <a href="/tegs.php?search='.$tegs[$i].'">'.$tegs[$i].'</a>';
}
$str = $str_Tegs;
} else {
$str = 'Меток нет.';
}
return $str;
}
Vasiliy 08.01.2012 11:43 # 0
bugmenot 08.01.2012 14:29 # +1
$str_Elementy
Novi4oK 24.08.2021 03:23 # 0