![]() |
|
|
#3 |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
by PHP
[php:1:4ce628b40b] $sql="select account from lin2db.dbo.user_account where pay_stat = 0"; $result = mssql_query($sql); for ($i=0;$i<mssql_num_rows($sql);$i++) { $sql="select char_id from lin2db.dbo.user_data where account_name='".mssql_result($result,$i,0)."'"; $result2=mssql_query($sql); $charid[count($charid)]=mssql_result($result2,0,0); } ... ...[/php:1:4ce628b40b] try finish.. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|