I haven't been here for a year. I just sent two "small" items for my own use and provided more points for improvement suggestions. the inspection administrator who just received the points should delete them.
Note: Because it is for your own use,
Does php obtain the first column of data when reading the database? For example, I count the number of records in the database.
Select count (*) from table1
Such a statement must follow the standard query method to obtain the record set, then
UnexpectedT_ENCAPSED_AND_WHITESPACE error during mysql connection $ m_dblink = mysql_connect ("xxx", "user", "passwore", true) or die ('could not connect database in host ');
Mysql_select_db ("check", $ m_dblink) or die ('could not select database ')
In getimagesize, the parameter path is incorrect. after uploading an image, the new file name is images/xxx.jpg. however, to use this file for both the front and back ends, I will convert it to the root path.
/Guest/images/xxx.jpg so that I can call
The category is collected by ID, and the articles under this category are recycled by category.
$ XiaoID = $ _ POST ['xsid _ xiao']; // POST minimum ID $ daID = $ _ POST ['xsid _ Da']; // POST Max ID $ chaId = "select * from xs where Id> = '$ xiaoid'
The RBAC of ThinkPHP's rbac permission management module, think, can only provide methods to grant function-specific permissions. what can be improved? it not only supports function-specific access permissions, but also provides data access
Excuse me, how can I guess the string that uses | lattice? $ Aaaa = "image/1.jpg | image/2.jpg | image/3.jpg"
Excuse me, how can I guess the string opened with "|?
Guess the following string.
$ A1 = "image/1.jpg ";
$ A2 = "image/2.jpg ";
$ A3 =
Website background verification is legal. I only use session for verification on my website. what is the better solution? I always think it is not safe to verify it on this layer.
Reply to discussion (solution)
I usually restrict ip addresses
What should I do if I use chrome to open a website made of wordpress and turn it into a download? Request Master Ah, from yesterday began to use chrome to open the site home page has become a download, download the file inside nothing, but the inner
PHP performs page loading. now I want to display the page loading effect. when I click "query", a loading image is displayed and the table data to be queried is displayed. I don't know how to implement this function. Hope you can help me. thank you.
Please read a piece of code. this is a content page template of the process order. However, if this is written, the search engine cannot catch it. How can I write it so that the search engine can catch it?
{Include file =
About php? I learned a piece of php by myself, and I felt I could not estimate my own level. how can I find a job about php after learning php?
Reply to discussion (solution)
There is no learning standard, only a standard that can complete a
The PHP verification code image does not display the PHP verification code Image. it does not display a red cross. The code is as follows:
Image. php
';} Else {echo' incorrect verification code !!';}}?>Image
Script function newgdcode
PHP's xml string parsing (online solution) is not long for the younger brother to contact php. The problem today is to parse the xml string. the content is
13817969688
13817969688
021-54485454
Mr. Liu
About mysql_fetch_row
Can you use if to determine mysql_fetch_row? I saw a php video written by a teacher.If ($ row = mysql_fetch_row ($ res), no error is written, that is, =, and the program in the video is running normally,However, when I press
When the PHPYii framework updates multiple data entries, it is easy for the webpage to time out. If I want to update many tables, it is easy for the webpage to time out.
PLMH1: model ()-> updateAll (array ('visitnum' => 'V '. $ _ POST ['inputnum'])
Add a new field to ECSHOP product description I add a new field to the database in ECSHOP product description. the newly added field in the description can be displayed, but the cache cannot be updated, this means that after I delete the data of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service