|
Вот что получилось
|
|||
---|---|---|---|
#18+
if ($HDelete){ $nn=count($HDelete); $ns=0; $query = "SELECT Horse FROM $my_table ORDER BY id"; $result = mysql_query($query, $Link); while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { foreach ($line as $col_value) {if (($col_value and $col_value<>"")){$ns++;$arr[$ns]=$col_value;}}} $nn=count($arr); for ($i=0; $i<count($HDelete); $i++){ $nnm=$arr[$HDelete[$i]]; $query = "DELETE FROM $my_table where Horse='$nnm'"; if ($result = mysql_query($query, $Link)){print ("$nnm Deleted<br>");} else {print("$nnm not deleted ");} }} ... |
|||
:
Нравится:
Не нравится:
|
|||
05.12.2003, 17:52 |
|
|
start [/forum/topic.php?fid=47&msg=32345315&tid=1855585]: |
0ms |
get settings: |
11ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
68ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
33ms |
get tp. blocked users: |
2ms |
others: | 324ms |
total: | 472ms |
0 / 0 |