php uses phpspreadsheet to generate execl, how to insert pictures ...
<ul class="z-nav-conter clearfix"> <li class= {dede:field name=typeid runphp="yes"}(@me=="")? @me="active":@me="...
We have encountered the following problems in the distribution system! For example, A user shares his URL. B users come according to the URL shared by A users, so judge whether A users follow the official account! If there is no attention, the follow but...
I found it like this update-alternatives --set php usr bin php7.2 the original version is 7. 0 installed. I want to cut the past , but I found that etc php 7.2 is also available here. which is the right way? what else should we pay attention to?! ...
have the following two sample tables order amount is equal to orderinfo price*count in the table, and each order has more than one item. how can I get the top 10 users with the total amount of orders through the SQL statement? add: each user m...
I think belongsTo or hasMany is usually written in model. What s the use of writing this? The following is the code in someone else s Car model. I think when he used it in the controller, he wrote $car = Car::find ($id) . It doesn t seem to be conve...
this is the HTML corresponding to this part ...
php calls the stored procedure, and there is other execution code before and after the stored procedure, in the same transaction, but the code before and after the stored procedure is executed, but the code in the stored procedure is not executed. What i...
the company uses a mall framework to access the environment on IWebShop online. The route is: http: 10.1.4.41 coupons binding id 4 is in the above format, but locally built can only be accessed through the following routes http: 10.1.4.41 ?controll...
how to jump to a page to display the user s information page immediately after following Wechat s public platform? At the same time, it also displays the information of the user UnionID! I would like to ask all the masters! ...
popularize the QR code what to do when 1 out of 1 million people cannot generate a QR code? ...
use the thinkphp3.2.3 framework, call the date style on the front page as shown below, how to write it in html? Can fall out, but the style can not show the effect of the following figure, do not want to add separate date parameters in the database. ...
The basic logic of the program is as follows: execute "LOCK TABLES auto_table WRITE "; then "select ID from auto_table; then update ID+1 " UPDATE auto_table set ID=ID+1 "; finally execute " UNLOCK TABLES " but this logic occurs when two users r...
use tp5 combined with Mini Program s wx.request to obtain background data, and always return status code 500, the background code is sure to be fine. All the methods of searching on the Internet have been tried, but none of them have been solved. does ...
my docker for windows, runs on gitbash: docker D what should be done ...
follow the ThinkPHP5.0 official manual prompt: User::event( before_insert , function ($user) { if ($user->status != 1) { return false; } }); :https: www.kancloud.cn manua... TP beforeInsert ,,,,. the direct insertion is s...
has not quite understood the concepts of controller, service layer, dao layer and logic layer, and how to use them and why to use them in this way ...
php;.net: I don t know what s going on? ...
I have a vegetable chicken at the front end. Recently, there is a new demand for the company s project, which has been maintained by others before. the front end uses a framework built by pHp and uses the memcached plug-in. After the project runs, ,...
recently I was learning jwt, but encountered a problem. the user enters the user name and password and sends it to the server, which encrypts it and returns it to token, with this token for every front-end request. so I have a problem: if the user ent...
Code: ready.touch = function (elem, fn) { elem.addEventListener( click , function (e) { fn.call(this, e); }, false); }; question: what is the purpose of this here? Who does it point to when the click event is ...
in the code on page 253 of the second edition of Unix Network programming Volume II: interprocess Communication (Chinese version), the author stores the semaphore in a shared memory through mmap, and then the parent and child processes can directly manip...
Yii::$app- > getSession ()-> setFlash ( success , "saved successfully! ") ; use this method to prompt information to the user, prompt a quick message, please ask how to set the time, let the prompt disappear after how long, if this prompt can not be r...
video video rotation in WeChat Mini Programs swiper. error reporting method: when the current video is played, the next video will be played automatically. ...
you can add or modify data in mongodb by Synchronize to ES, but when you delete data, the deleted data is still saved in ES. data in mongodb: ES: ...