我在远程服务器的文本文件 (dump.log) 中有这个输出。我无权访问原始 PHP 创建的数组:
Array
(
[email] => ddiar@beu.ac.il
[timestamp] => 1369735202
[smtp-id] => <1369735199.51as4801fed0f7@www.pub.org>
[category] => decision
[event] => processed
)
Array
(
[email] => jc@open.com
[timestamp] => 1369735202
[smtp-id] => <1369735199.51a4801fed0f7@www.open.org>
[category] => Interm
[event] => processed
)
Array
(
[email] => ilgkliar@bku.ac.il
[timestamp] => 1369735204
[smtp-id] => <1369735199.51ahg4801fed0f7@www.open.org>
[response] => 250 OK: <ed628ghjbf2000aec70@bkju.ac.il>
[category] => decision
[event] => delivered
)
现在我想使用 PHP 将值插入 MySQL 表中。(如 email_field、time_field、category_field..等等。)
我从这里尝试了函数 print_r_reverse但没有运气。请提供完整的代码。