PHP in the Echo JS related questions, so weird ah please look
Source: Internet
Author: User
PHP in the Echo JS problem, very strange ah, please see
As follows
"> Download number
Js:
function Gettelnumber (telnumber) {
alert (Telnumber);
}
Replace $arr[sendnumbers] with a string, such as $sss= "123", click on the download number can pop up 123, change to $arr[sendnumbers] after, but $arr[sendnumbers] the value is there, $arr [ Sendnumbers] value is "123456789", you can print out, but the point to download the number is not to bounce out, will $sss= "123456789", it can pop 123456789, very strange Oh, change to the variable is not, the variable has value AH
------Solution--------------------
Explore
Find out what the reason is.
Query statements
$sql = "Select SUM (count) as Count,sendtime,group_concat (Sendnumber) as Sendnumber from ' Countmessage '". $where. "GROUP BY Sendtime "This will be stolen in part, in the case of grouping
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.