Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Can phpcm use SQL statement

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you whether phpcm can use SQL sentences, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Phpcms can use SQL statements, which are commonly used as follows:

Set the workflow of all columns of the site to first-level audit:

Update v9_category set setting=REPLACE (setting, "'workflowid' = >',", "'workflowid' = >' 1century,")

Enter the background of the website to update the cache, and then add an article to see if there is an audit option in the lower right corner of the post.

Change the user name SQL statement:

UPDATE `v9 _ admin`SET `username` = 'phpcms' WHERE `v9 _ admin`.`userid` = 1 LIMIT 1; UPDATE `v9 _ news`SET `username` =' phpcms'

The first sentence modifies the user name of the user group, and the second sentence is the user name in the article.

The above is all the content of whether phpcm can use sql sentence, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report