Hongmu Notes
Empire cms calling tag, pseudo-static version, smart calling

Empire cms calling tag, pseudo-static version, smart calling Program Notes Empire cms

[e:loop={"select * from [!db.pre!]enewstags order by num DESC limit 20",0,24,0}] <?php echo ' <li class="submenu"><a t…
👁 279
Addition of message function to pbootcms website

Addition of message function to pbootcms website Program Notes PbootCms

Scope of application of message board tags: can be used anywhere on the entire site Tag function: used for users to submit messages and retrieve message records 1. Message submission form<form action="{pboot:msgaction}" method="post"> Contact person:<input type="tex…
👁 174
pbootcms introduces public file code

pbootcms introduces public file code Program Notes PbootCms

1. Template file nested reference {include file=***.html} Instructions for use: It can be used nested, such as: index.html nests a head.html, and nested comm.html in head.html supports the use of subdirectories, such as: {include file=comm/*.html} 2. Time formatting tag style=*, such as: within...
👁 236
Reason why layer.msg is invalid

Reason why layer.msg is invalid Summary of pitfalls

Reason 1: Simultaneous introduction of multiple layui versions; Reason 2: Incorrect script syntax: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <title>...
👁 573
php split a string into its constituent characters

php split a string into its constituent characters Language Notes PHP

Question: How to split a string into its constituent characters in PHP? For example, hello -> [h, e, l, l, o] There are three methods: This is the string that needs to be split: $str = 'Hello sample'; The length of the string: $len = mb_strlen($str, 'utf8'); // 7 The first way: $arr = str_…
👁 182
php The day of the month, php determines the day of the week today is this month

php The day of the month, php determines the day of the week today is this month Language Notes PHP

PHP offers a powerful built-in system function called `date()`. By cleverly utilizing this function, you can display any desired date or time. For example, suppose you need to determine what day of the week today is within the current month; we won't discuss whether such a requirement is appropriate or meaningful here – instead, let's look at how to implement this functionality using PHP. This functionality primarily relies on the `w` and `j` parameters of the `date()` function.
👁 251
PHP implements several ways to write what day of the week today is

PHP implements several ways to write what day of the week today is Language Notes PHP

// First method: $da = date('w'); if ($da == '1') {echo 'Today is Monday';} else if ($da == '2') {echo 'Today is Tuesday';}...
👁 161
PHP timestamp and date conversion

PHP timestamp and date conversion Language Notes PHP

Get the current date and time as a timestamp: `echo time();`; Get the current date and time: `echo date('Y/m/d H:i:s');`; Convert a date to a timestamp: `echo strtotime(date('Y/m/d'));`; Convert a timestamp to a date: `echo date('Y-m-d', time());`
👁 149
How does PHP operate sqlite database?

How does PHP operate sqlite database? Language Notes PHP PHP collection PHP and mysql

The PHP code below demonstrates how to connect to an existing database. If the database does not yet exist, it will be created; finally, a database object will be returned. <?php class MyDB extends SQLite3 {function __construct() {$this->open('test.db'...
👁 176
Use of bootstrap5 accordion

Use of bootstrap5 accordion Language Notes Bootstrap

Parent Container: Class name: `accordion`; ID: `accordionExample` – The `data-bs-parent` attribute of the child accordion container must match the ID of the parent container. Child Item: Class name: `accordion-item`; Child Item Header: Class name: `Accordion-header`; ID: `headingOne`; The `aria-label` attribute of the child item content container...
👁 175
1 296 297 298 299 300 315

🔥 Popular articles

Empire CMS smart label call field collection

Empire CMS smart label call field collection Program Notes Empire cms

Collect and classify all fields that support smart tag calls into Empire CMS smart tags: [e:loop={column ID/topic ID, number of items displayed, operation type, only display pictures with titles, additional SQL conditions, display sorting}] Template code content [/e:loop] Calling time: <?=date('m-d',$bqr[newstime])?> <?=dat…
👁 3752
Imperial cms imitation website tutorial corresponding notes

Imperial cms imitation website tutorial corresponding notes Program Notes Empire cms

Hello everyone, welcome to learn the imperial cms imitation website tutorial. I am Hong Mu qq1810216796 QQ exchange group: 9589723231 Imperial cms website installation. Hello everyone, welcome to learn the imperial cms imitation website tutorial. I am Hong Mu qq: 1810216796 qq exchange group: 958972323 Build an imperial program. If you have a server and have built an imperial website on the server, then...
👁 3413
Empire cms7.5 payment upgraded and optimized version of the library sample automatically generates word/PDF documents paid copy download with payment system member center whole site template source code sitemap Baidu push + installation tutorial 014

Empire cms7.5 payment upgraded and optimized version of the library sample automatically generates word/PDF documents paid copy download with payment system member center whole site template source code sitemap Baidu push + installation tutorial 014 Practical Collection empire template

This set of templates has a complete member center on mobile and PC. The member center template is also very good! By the way, there are also corresponding locomotive collection rules! Regarding installation, upload the direct installation version, install it directly, and then restore the data in the background. There is a view more on the mobile phone. If there is a problem, you can copy the view more code in index.js on the PC. If it has not taken effect yet, please check whether the js file renderings are referenced...
👁 2697