公告:未定義的索引:在/opt/lampp/htdocs/content/cron/check_deposits.php類上線18注意:未定義指數:類
$deposits=mysql_query("SELECT * FROM `deposits`");
while ($dp=mysql_fetch_array($deposits)) {
$received=0;
$txid='';
$txs=$wallet->listtransactions('',2000);
$txs=array_reverse($txs);
foreach ($txs as $tx) {
if($tx['category']!='receive') continue;
if ($tx['confirmations']<1) continue;
if ($tx['address']!=$dp['address']) continue;
$received=$tx['amount'];
$txid=$tx['txid'];
break;
這是怎麼出來的框。我聯繫了有關該問題的支持,並且他們告訴我確保我使用的是PHP 5.3.1。這有什麼問題?
下面是完整的代碼的鏈接: http://diceking.tk/deposit.txt
現在我得到 注意:未定義索引:第19行中的/opt/lampp/htdocs/content/cron/check_deposits.php中的確認 – 2014-11-08 11:29:32