" appcms taglib CmsTagLib " t ...
hello~ when I use laravel5.5.18, executing php artisan will throw an exception Unsupported operand types, as follows: what is the problem, God? My environment is nginx + php-fpm, and the php version is 7.2.1 ...
I saw a piece of code today: the label here is {[.]} there is also a code like dispatch. Is this the code of PHP? So what framework is the code for PHP? ...
describe the problem A list of products that needs to be displayed according to different keywords. Keywords appear in "highlight_desc | keywords | page_title | description ", respectively. Such as keywords "42L large capacity ", "one-click menu "....
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) first picture code public function edit () { $db_01=new DB(); $id_edit=Req...
error The sentry background sees the error There is no active transaction , which occurs in a update method, roughly function update() { $this->db->beginTrans(); try { dosomething(); $this->db->commitTrans(); ...
public function __call($method, $args) { if (!require_cache("{$this->addonPath}Controller AdminController.class.php")) { E("database"); } $object = Think Think::instance(" A...
these days because of frequently watching MVC (PHP) on the Internet and personally implementing some scripts, and looking at Laravel , I found that MVC is a file that will look for a lot of FUNCTION and then even FUNCTION will look for FUNCTION . What ...
I encountered some problems in the process of reading the Slim source code. After reading the source code, I looked at the official document application and wanted to understand the application process, such as the implementation process of routing midd...
in the actual project development of PHP, there is little real application of design patterns in business logic. why? suppose a simple scenario: using yii2 or laravel to develop user management-related functions, most of the time a simple MVC is creat...
I am currently working on a web site based on php + mariadb , but recently I want to change the web site to laravel traffic , but it is impossible to achieve it in the short term. so I want to ask the great gods how can I change the code to achieve t...
Why can the Laravel controller be accessed properly using protected decorations? protected function advert() { try { $result = $this->systemService->advert (); return $this->...
Recently, I have been studying the callback function, which is said to be one of the necessary skills to become a senior programmer. I searched the Internet for most of the day, but until now I haven t figured out the real scene of the callback, so I se...
when a rookie at the front end is working on a small project <?php header("Content-type: text html;charset=utf-8"); 1 $conn=@mysql_connect("localhost","root","0123456zp"); if(!$conn){ mysql_error()my...
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...
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...
504 Gateway Time-out 504 Gateway Time-out nginx ...
< H1 > Controller < H1 > <?php namespace App Jobs; use App User; use Illuminate Bus Queueable; use Illuminate Queue SerializesModels; use Illuminate Queue InteractsWithQueue; use Illuminate Contracts Queue ShouldQueue; use Illuminate F...
hi, Hello, everyone. there are now ten pieces of data that need to be inserted and ten pieces of data that need to be updated. The data that needs to be inserted in suspense is a1memery a2magina3.a10, and the data that needs to be updated is b1memb2rec...
how can the PHP code be completely separated from the front-end code? I am a newcomer who just went to work. Recently, I have spent a lot of time operating the front-end code. I am very confused. I have come to ask for help from the big guys in the commu...