In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article introduces the relevant knowledge of "what are the points you need to pay attention to in the process of learning php". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1.php passes a value to javascript
How php passes the value to javascript: you need to put quotation marks around the tag
Note: in fact, there was a mistake in my original understanding. Php is a dynamic display language. In fact, in the echo that displays the relevant text, it is natural to add quotation marks because the original one does not contain quotation marks.
two。 Timestamp conversion
Strtotime can convert datetime in mysql into timestamps.
3. About data rounding
The 2 after number_format ($time*$deposit_money*0.05/365,2) indicates that 2 decimal places are reserved and are rounded. Another way echo sprintf (".2f", $number); not rounded
1.GRANT and REVOKE commands:
Grant and revoke permissions to mysql users, which are divided into four levels: global-database-table-column
two。 Create an index
Can make queries faster create index statements
3. Retrieve variables
$POST $_ GET $_ REQUEST
4.heredoc syntax
Echo
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.