[英]how to resolve array issue of IMAP mail
Receiving an array like: 接收如下数组:
Array ( [0] => Details of Contact Made: [1] => )
Array ( [0] => ABC
abc@yahoo.co.in
1234567890
[1] => )
Array ( [0] => I am interested in your Residential Plot. Please get in touch with me.
Immediately
[1] => )`
How to extract information : 如何提取信息:
ABC
abc@yahoo.co.in
1234567890
I am interested in your Residential Plot. Please get in touch with me.
Immediately
Please help. 请帮忙。 I've been searching for the last 5 days. 我一直在搜寻过去5天。
you can implode the "inputArray", to get ah single string, when I have understand your question right. 当我了解您的问题后,您可以内插“ inputArray”,以获取单个字符串啊。
For Example: 例如:
<?php
// $inputArray =
/*
Array ( [0] => Details of Contact Made: [1] => ) Array ( [0] => ABC
abc@yahoo.co.in
1234567890
[1] => ) Array ( [0] => I am interested in your Residential Plot. Please get in touch with me.
Immediately
[1] => )
*/
$extractedInformation = implode(" ", $inputArray);
var_dump($extractedInformation);
?>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.