for example, I have a variable that needs to store a list of online users. I declare a global variable directly in the swoole server file and store the information of each online user in the form of a two-dimensional array. Swoole itself is resident in m...
the problem we are facing now: opening the home page of the website requires statistics of a lot of tables, and each temporary summary will be very slow. if you do a data statistics function alone, you will need a lot of extra workload and redundant d...
this is the json structure of Fang Hui this is my method if I want to show it <? foreach ($dataUserList->{ themes } as $key) { ?> <? foreach ($key->{ theme-participants } as $value) { ?> <?=$value->...
$ymdh = date( Y m d H ); $findOrderSoFar = mysqli_fetch_array($pdo->query( "SELECT count(public_order_id) as num FROM `order_record` WHERE FROM_UNIXTIME(add_time, %Y %m %d %H ) = {$ymdh} " )); $i $i = $findOrd...
this is the json result of my json_decode counterpart returning to me stdClass Object ( [attributes] => Array ( [0] => stdClass Object ( [attribute-id] => 5c6186217d4d0765152e42f7 ...
" appcms taglib CmsTagLib " t ...
I d like to ask a question suppose there are three websites on different servers , but all three sites have common files, which may include js, css, and some php function . How can I manage shared files at this time? if the shared file is updated, wil...
return QueryList::get($url)->rules($rules)->range($range)->query(function ($item){ $re = []; $rt = QueryList::get($item[ link ])->query(); $re[ title ] = $rt->find( .gb-final-pn-article>h1 )-...
the problem I face now is I have a datasheet that is almost 1 million. it s not a way to go on like this. how can I separate it out, but I can still use the data from the datasheet? because suppose I export it to the drop table I can t use it ...
if ( $row[ sale_type ] == pre && $row[ stock_type ] == or $row[ sale_type ] == && $row[ delivery_from ] != 0 or $row[ sale_type ] == && $row[ delivery_from ] == 0 && $row[ ...
first introduce the environment Linode ubuntu16.04,apapche,php7.3,mariadb current dilemma in my website folder, strictly speaking, there are three kinds of projects, one is e-commerce, one is blog, and the other is front-end and background . But now...
PHP version 7.1.25, server CentOS 7, follow the link to install the amqp extension (your own rabbitmq-c version is 1.8.0 rel= apmq version 1.9.4). After restarting the service, enter [php-m] to prompt [PHP Warning: PHP Startup: Unable to load dynamic l...
two hypotheses A $do->query( "INSERT INTO `abc` ( `public_order_id`, `add_time`, `status` ) VALUES ( {$public_order_id} , {$add_time} , ) &...
echo date( Y-m-d , strtotime( last month , strtotime( 2018-12-31 ))) this output 12-01 ...
use laravel Cache::get () Times error, version PHP7, error file vendor laravel framework src Illuminate Cache MemcachedStore.php igbinary extension is installed ...
I have tried the following ways, either garbled or reported an error. $strInput = "Li Li ad ss "; output is normal, no garbled echo $strInput; : iconv (): Unknown error echo iconv ( utf-8 , gb2312 ,$strInput); garbled echo ico...
I have tried the following ways, either garbled or reported an error. $strInput = "Li Li ad ss "; output is normal, no garbled echo $strInput; : iconv (): Unknown error echo iconv ( utf-8 , gb2312 ,$strInput); garbled echo ico...
after executing this command, you can open an extension, but I don t quite understand what this principle is. I wish I couldn t find the line that opened the extension in the php.ini configuration file. I hope seniors can explain this. ...
function xlsBOF() { echo pack("ssssss", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0); } function xlsEOF() { echo pack("ss", 0x0A, 0x00); } function xlsWriteNumber($Row, $Col, $Value) { echo pack("sssss", 0x203, 14, $Row, $Co...
redis > SETBIT bit 10086 1 (integer) 0 redis > GETBIT bit 10086 (integer) 1 redis > GETBIT bit 100-sharp bit is initialized to 0 (integer) 0 by default. ...
how to achieve second-level comments like a brief book? my existing fields are as follows: id pid id article_id id my original implementation is as follows ** * @param $data array * @param $pid string parent_id * @param $id...
now axios is used in vue projects to send http requests. There will be one more Request Method: OPTIONS request for each request, followed by the get post request. Is this a backstage problem or an axios request problem on my side? If the front desk can ...
problem description vue v-if,jsdiv,setAttributev-if, the environmental background of the problems and what methods you have tried create div, dynamically through js, and then bind div to VMI if to add judgment conditions. True and false, can be see...
problem description has WeChat Mini Programs ever written a multi-selection pop-up box like the following for advice the environmental background of the problems and what methods you have tried related codes Please paste the code text below ...
now I want to achieve such a function, that is, there is a sharing icon on the pc web page, and users can share the content with Wechat friends after scanning the QR code. How should this function be realized? Ask for divine assists ...