0
好的,所以我搞乱了电子邮件列表,我陷入了精神僵局的状态。这里是我有:将数组中的字符串分开并将其分配给2个变量
- mailing_list.php //包含在表单中的所有细节“姓名:电子邮件”
的functions.php //包含功能get_registered_list,这应该显示在列表中页。
function get_registered_list($path = 'mailing.php') { $content = file($path); // creates an array of strings of the format "Name:Email" // enter code here }
你将如何做到这一点:
- 运行通过数组$内容和每个字符串姓名和电子邮件分开。
帮助将不胜感激。
感谢