Home > Backend Development > PHP Tutorial > echarts relationship diagram unicode encoding phpsql 20160621 review

echarts relationship diagram unicode encoding phpsql 20160621 review

WBOY
Release: 2016-07-28 08:29:39
Original
1005 people have browsed it

1. I have been studying how to create the relationship diagram of echarts in the morning. echarts has two official websites, one is echarts3 and the other is echarts2. I have been using echarts3. There are several complicated examples in which all call an xml. This xml is an The famous relationship diagram (do you only draw relationship diagrams?) software Gephi exports the format gexf. The initial idea was to dynamically generate this xml, but later I found it was a bit complicated. Then I looked at a few simple examples, combined with the documentation, and found that it is You can directly write in json format, which involves some array encapsulation and the php array append method: $nodes = array(); $nodes[] = XXX,javascript的append方法:var nodes = new Array(); nodes.push('XXX');
2. The problem I dealt with at noon was that when the customer service staff named a credit report, there was a character that I could not parse. The unicode code is /u00A0, and the ordinary space is /u0020. Later, I checked the information and found that the space /u00A0 is called non breaking space. , which is commonly used on web pages. If Python uses gbk to encode /u00A0, an error will be reported! The customer service staff probably named the file by copying and pasting, which caused this problem! From this point, we can also infer that the file name Wang passed to me was a file name with unicode characters 3. PHP retrieves all results from SQL query

$nodes = array(); while($row = mysql_fetch_array($result)) <br> { <br> $row_hash = array("name" => $row['Id']); <br> $nodes[] = $row_hash; <br> }<br> 4. I also do some boring work, such as changing the interface from English to Chinese, making ppt, etc.
5. After some debugging, I found that it was not my fault at all
6. I discussed decision-making issues related to credit review with my colleagues. Basically, what Colleague Xiao said is that the weight of overdue indicators should be very large, while Tony attaches too much importance to data. Regardless of whether the data is contrary to common sense, I found that Tony also wants to use some of the current indicators that are not so Make some adjustments for accurate approval, so I think Tony values ​​data too much!

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); }); The above introduces the echarts relationship diagram, unicode encoding, phpsql 20160621 review, including the content, I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template