Ask me a question about mvc. I am a newbie. I am studying ci 3.x by myself. I recently encountered a question in my practice and would like to ask:
The specific situation is that I want to create a video vod, and the homepage will display the
I am eager to ask a php question online. thank you! Function number ($ str)
{
Preg_replace ('/\ D/S', '', $ str );
} Echo number ('text mosquito 38 ');
The extracted number $ asd = preg_replace ('/\ D/S', '', $ str); cannot be obtained.
How to create a multi-dimensional array, my data has three columns, id (such as a1 \ a2 .. d1 \ d2), name (name), and age (age, number ). How to use PHP to create this multi-dimensional array?
Include ("IncDB. php ");
$ Result = mysql_query
Uploading FILES in PHP $ _ FILES is unacceptable. Hello, everyone!
I wrote a small program for uploading video files.
When testing in windows:
Php5.5 + apache2.4.9. The maximum php Upload size has been set to 1024 MB.
At this time, it is okay to
Php magic methods sleep () wakeup () _ sleep () and _ wakeup ()
Public array_ Sleep(Void)
Void_ Wakeup(Void)
The serialize () function checks whether a magic method _ sleep () exists in the class (). If this method exists, it is called first
I did not understand the result of array loop traversal when I was learning it. I would like to ask you if I saw the output result of array loop traversal when I was learning php.
The code is as follows:
$ Arr [0] = 1;
$ Arr [1] = 2;
$ Arr [2] = 3;
Are you sure you want to rewrite and delete the verification code?
Delete
Add return ('Are you sure you want to delete it? ') You cannot run the query or click "yes" or "delete ".
If you want to add a judgment point, do not delete it.
The problem of post data is that I use the debugging tool provided by the browser to intercept the data transmitted as follows:
Remote Address:110.173.51.13:80Request URL:http://1.cp556677.com/index.php/game/postCodeRequest Method:POSTStatus Code:2
The cookie is valid and cannot be executed normally. Take a look at the file directory structure logon interface and the main file in the root directory, and other files in the main folder,
$ Name = "James ";
Setcookie ("F_user", $ name, time () + 90
The Observer pattern of php pattern design is the fifth article I wrote "php pattern design. The previous four articles continue to learn and deepen their understanding. today, I think it is very easy to understand the observer model. This may be
Review of regular expressions in PHP (2) -- Basic syntax 1. add "/… /"You can also use" #... #"
2. minimum unit of atomic visible and invisible atoms
Visible atom: characters that can be seen by the naked eye
Invisible Atom: Invisible Atom, for
The loss of mysql storage in IE is so strange in the world. First of all, my database and page use UTF-8 encoding. the page code is as follows:
Header ("Content-type: text/html; charset = utf8 ");
$ Result = $ mysqli-> query ("select * from 'com _
Memcache cannot be installed. please kindly ask me if you have installed memcache. But no matter what version I want to change, I can't install it. I opened phpinfo () and didn't install memcache. thank you very much for your help!
Reply to
How to read the results of the key value in redis now there is a key in redis, the key name is wz_user
I read wz_user
$ Redis-> hGetAll ("wz_user ");
Value:
??? Array ([1170202] => a: 52: {s: 2: "id"; s: 7: "1170202"; s: 3: "pid"; s: 1: "0"; s: 8
Learning MOOC php fuzzy query technology ①. database design
If the password is md5, char (32) is used. if the password stores half of the data, char is used.
Gender. int is used for normal development.
Input condition, with default setting default
Error code about mysql_query return value
Code to run
All usersAdd user
"; For ($ I = 1; $ I Modify'> Delete";} Echo"";?> The return value of mysql_query in the two sections of code is the same, but why does a function warn when
Cainiao's question: small questions about PHP and MySQL
What I want to achieve is
Order multiple dishes
Then select a box
Then click Submit Order
The unit price of the selected option is automatically added
Then assign the result to the cost of the
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