
28.03.2008, 14:28
|
|
Members of Antichat - Level 5
Регистрация: 05.04.2006
Сообщений: 1,066
Провел на форуме: 3493315
Репутация:
1228
|
|
PHP код:
$a='(';
while ($models = mysql_fetch_array($model))
$a.=$models[1].',';
$a.=')';
$a = str_replace(',)', ')', $a);
или
PHP код:
$a='';
while ($models = mysql_fetch_array($model))
$a.=$models[1].',';
unset($a[strlen($a)-1]);
|
|
|