|
Вот что получилось
|
|||
---|---|---|---|
#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&gotonew=1&tid=1855585]: |
0ms |
get settings: |
12ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
35ms |
get topic data: |
12ms |
get first new msg: |
8ms |
get forum data: |
3ms |
get page messages: |
30ms |
get tp. blocked users: |
1ms |
others: | 15ms |
total: | 138ms |
0 / 0 |