sql statement $sql_insert = "insert into tabs(name,singer,address) values ( $name , $singer , $songaddress )"; $res_insert = $conn->query($sql_insert); question single quotation marks appear in my $name, $singer, and $songaddress ...
a b c d 4 people a delegate the task to b. b delegate the task to c. c delegate the task to d. . The record seen by a. A-> b-> c-> d . how should the data table be designed? ...
is that two values are displayed at the front end, one is the total number of places, and the other is the number of remaining names. For example, a task has a total of 50 places, after the user receives, the total number of times after collection shows ...
there is a requirement that an excel table automatically split each specified row and then specify the corresponding mailbox to be sent how to find ...
if (strtolower ( $file_type ) == xls ) { $objReader = PHPExcel_IOFactory::createReader( Excel5 ); $objReader = new PHPExcel_Reader_Excel5(); } else { excel.xlsx ...
for example, ten thousand people vote for one person what I do is to read the number of votes first and then get the votes + 1 , but if ten thousand people vote at the same time, the number of votes and updates must be incorrect . The code is as foll...
Development environment: MAC OS, APACHE, PHP7.2, ThinkPHP5, vue.js 3.0, axios. the back-end interface is developed by ThinkPHP5, and cross-domain headers have been added to return the data. Deployed on the local IP:192.168.0.3:80. the data returned b...
ThinkPHPlinux: : Why does this happen? you need a big god to answer the question of a rookie who has just learned tp5. Thank you! another thing is that sometimes, for example, the log on the 29th does not have this situation. Is it necessary to con...
array( name , 1 , xixi , php ); array( name => 1 , xixi => php ); how is the above array processed into the following format? ...
I am modifying a WordPress plug-in that needs to be intercepted from the source code of the web page generated by WordPress. However, there are occasional cases of backslash + number in the source code, and the matching result is abnormal, and the ba...
I built a lnmp test environment locally and deployed the wordpress project. Why did I not visit it for a long time? when I clicked on the page again, I would wait dozens of seconds to return the data, and then each click would be faster again. Wait for m...
I built a website has been running well until there has been a recent problem and cannot read the configuration file on the server. there are several applications deployed on this site, two of which have exceptions. one is http: 202.194.139.32 P...
before the code is written in Controller, too much writing is bloated, and it looks so messy. Now that I ve changed it to this, I don t know exactly how to calculate the industry standard. If it feels like this, it will be a little clearer. controlle...
when reading other people s code in the material, I found a way to assign values to php two-dimensional arrays. Here is a simple example $call[ a ][]= 1 ; $call[ a ][]= 2 ; the result of this assignment is array (size=1) a => a...
I save the generated QR code image in the public directory. The frontend request interface requires me to return this image address, but this image address does not exist. 404, is there any way to solve it? ...
Mini Program logged in for the first time (obtained authorization for the first time) and obtained code rawData signature to the server after the server obtained the sha1 encryption value of session_key and rawData based on code that was not consistent ...
for example: $str = 123123 ; preg_match_all( ( d*) , $str, $arr); var_dump($arr); or: exec("date", $output); var_dump($output); this is not declared $output , and can be output as $arr ? What is the reason for this? add <?p...
the number of input entries on the form page determines how to design the database table if the new form an and form b or other forms do not unify the fields when submitting data, store them in the database. outline of the design idea what should i...
Today, when the new server compiles and installs Php, it is found that there is no php.ini file! I also know that you can copy php.ini-development or php.ini-production files to the source package! but when I don t have the php.ini file, php still...
recently, I am doing the official account of Wechat to get my personal location. Some mobile phones are abnormal. allow ; I don t know if I have encountered the same situation and have solved it. If you have, please leave a message, thank you very m...
get the code as shown in the figure, the ip address does not change, but the port number changes all the time. Boss, may I ask why this is? ...
how can the vue axios implementation refresh the token and continue the previous request? How to set it in the interceptor, can you provide the code? my settings in the interceptor are as follows, but I will not proceed with the current request. Suppos...
H5 page cookie embedded in appwebview has an extra key with the same name there is no problem with browsers and Wechat opening pages. Check that there is no code in the code that sets the value to "xhToken " if anyone has encountered this problem an...
problem description the environmental background of the problems and what methods you have tried related codes Please paste the code text below (do not replace the code with pictures) what result do you expect? What is the error message actu...
problem description vue automatic build tool can not find source files in webpack environment, only webpack packaged files and no packaged map files ask how to decompile back to the project source files ...