|
|
|
Вот что получилось
|
|||
|---|---|---|---|
|
#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&fpage=696&tid=1855585]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
26ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
23ms |
get tp. blocked users: |
2ms |
| others: | 234ms |
| total: | 325ms |

| 0 / 0 |
