For questions about echoJS in PHP, please take a look.

Source: Internet
Author: User
The problem with echoJS in PHP is so strange. please take a look at the following: & lt; ahref = & quot; # & quot; onclick = & quot; & lt ;? Php $ sss = $ arr [sendNumbers]; echo & quot; javascript: getTelNumber ('& quot ;. $ sss. & quot; ') & q. The echo JS issue in PHP is so strange. Please check it out.
As follows:
"> Download number

JS:

Function getTelNumber (telNumber ){
Alert (telNumber );

}
Replace $ arr [sendNumbers] with a string, for example, $ sss = "123". click the download number to bring up 123, and change it to $ arr [sendNumbers, however, $ arr [sendNumbers] has some values. $ arr [sendNumbers] has a value of "123456789", which can be printed, but it cannot be displayed when you click the download number, if you change $ sss = "123456789", you can bring up 123456789. it's strange that you cannot change it to a variable. the variable clearly has a value.

------ Solution --------------------
Discussion

Find out why.
Query statement
$ SQL = "select sum (count) as count, sendTime, group_concat (sendNumber) as sendNumber from 'countmessage '". $ where. "group by sendTime" is used to steal part of the write.

$ SQL = "select count, sendTime ,......

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.