PHP uses the subscript symbol [] to read strings.
[(Subscript)]Symbols can be applied not only to arrays and objects, but also to strings. if you do not pay attention to them, they are prone to errors.
For example, to obtain a network interface, a
Php simulated login, jump to the page problem I want to use php simulated login to a website, after login, simulate a search operation (when performing a search operation, it redirects to another page to display the search results ). The problem I
For PHP paging display problems, I will introduce the paging principle in the PHP100 video. According to the provided code, after running, it is found that the page change cannot be performed, and the url is still displayed? Page = 2 page = 3 page =
Assume that the wildcard domain name I use is * .domain.com.
Now I want to determine when the domain name is not www.domain.com and the second-level domain name that meets the condition is ([\ w] {2, 5}) .domain.com for redirection and direct it to
The php background detects the data and outputs it in the html table. how does the php background find the data and output it in the html table. Background B .php and foreground a.html. The detected data is $ result, which contains id and name. How?
[PHP sharing] SublimeText2 install the Ctags plug-in 1. download ctags58.zip, decompress it, and put the ctags.exe in the Path. take the author as an example, put it directly in the % SystemRoot % \ system32 Path, and then use the command line to
The data submitted using mysqli_real_escape_string has a format, and the output data is also formatted. because the data is verified, I used mysqli_real_escape_string, so that the data is directly displayed in the database in a format such as \ r \
My THINKPHP project: SUBMENU_CONFIG {$ menu}, with a syntax error
\ Manager \ Tpl \ Home \ Index \ main.html SUBMENU_CONFIG = {$ menu}. there is a syntax error in row 111st.
PHP is useless for a long time.
May I ask GGJJDDMM,
What does {$ menu}
I recommend some books for php learning and recommend some books for php learning.
Reply to discussion (solution)
I am looking at PHP + MYSQLweb development, or I bought it on Amazonas. you can check it out. if it is not a newbie, I don't
What is the role of NOTNULL in the statement 'AAA' varchar (11) NOTNULL when creating a field? When creating a field, what is the function of the statement 'AAA' varchar (11) not null?
Not null?
Reply to discussion (solution)
This field
Php regular expression replacement problem replace the comments in the script code section //... (// starts to the end of the line) is blank
$ Str = "script document. write (unescape (\ "% 3 Cspan id = 'szgs _ stat_icon_2 '% 3E % 3C/span % 3E % 3
Is it correct to look for code in this way? Which of the following statements is from the discuz program?
$ Recommendgroups = array ();
If ($ _ G ['forum'] ['status']! = 3 & helper_access: check_module ('Group ')){
Loadcache ('forumrecommend ');
$
Develop the chrome plug-in to capture some web page information. how can I write the captured information into a file? Currently, jquery ajax is used to send data to the server, and php is used to write data to Excel. However, the server cannot
Solve verification code problems
Q: How can I store the verification code in the image for later verification?
Verficode. php page
Ob_clean ();
For ($ I = 0; $ I $ Num. = dechex (rand (0, 15 ));
}
$ Num = substr ($ num,-4, 4 );
$ Nowimage =
Operate BLOB fields in Mysql using PHP
1. BLOB field type in MySQL
BLOB fields are used to store binary data.In MySQL, BLOB is a type series, including TinyBlob, Blob, MediumBlob, and LongBlob. The only difference between these types is that the
A mysql row corresponds to a multi-column Association query problem. There are examples and detailed descriptions, and there are two tables.
Table t1 has four field IDs: city_id1, city_id2, and city_id3.
Table t2 has two field IDs, city_name
After selecting the data according to certain conditions, if the data exists and a pop-up window appears, how can this problem be achieved. I want to make a listener, that is, I am doing an exe installation program, can be in the win System (xp, win7
How can I generate a Chinese string with a specified length and use "Siya Meishi Ruo Shu Zi Qing Dan Pei Ziqiu Ruiying AI Manlin? These Chinese characters cyclically generate multiple strings consisting of two Chinese characters?
Reply to
Browser error: PHPWarning: preg_match () expects. PHP Warning: preg_match () expects parameter 2 to be string, object given in C: \ inetpub \ wwwroot \ hp \ 4.php on line 80
If (! $ This-> result |! Eregi ("^ Resource", $ this-> result)
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