If mysql_fetch_array does not run, no error is returned.
The echo "$ SQL" result is executed normally in mysql. If no error occurs, it is normal to obtain the cookie parameter.
The execution of mysql_fetch_array is not surprising.
Reply
How to delete the specified key array (
'Juan _ tit' =>
Array (
0 => 'Volume 1 ',
1 => 'Volume 2 ',
2 => 'Volume 3 ',
),
)
Now I want to delete this value with the key name 2. how can I delete it.
Reply to discussion (solution)
The page that comes with thinkphp. what is the current page? The Page that comes with thinkphp. the current Page is $ nowPage in Page. class. php. how can I display it on the front-end Page?
In other words, the front-end {$ page} is displayed by
PHPjson_encode is garbled like a title in Chinese. how can this problem be solved without urlencode?
I hope you will give me some advice.
Reply to discussion (solution)
First, it is not garbled, but a unicode symbol.If you want to retain the
It took two weeks to learn about bootstrap. a website's front-end css was hand-written, and the open-source bootstrap was used.
Reply to discussion (solution)
You also learned! I have not adapted yet!
How can we make some new pop-up windows?
The replacement value of preg_replace has a subexpression value plus a value, as shown in the following simple replacement:
$ Ih = 100;
$ Aa = 'a123b ';
$ Aa = preg_replace ('/^ (a) 123 (B) $/I', '$ 1'. $ ih.' $ 2', $ aa );
Print_r ($ aa );
The
Questions about using easyuidatagrid in php
Region Name
Quantity
Generally, when using the datagrid, the url is filled with a php file that generates json. How do I write this url if I want to replace it with a
An Object-oriented BASIC programming $ this-> $ name;
$ This-> name;
$ This-> name; is to call the name attribute of the current object. $ this-> $ name; what is it? What is the difference between the two?
Reply to discussion (solution)
$
For help, error_reporting (0) cannot block all errors
There will still be an error that exposes all paths and things.
Reply to discussion (solution)
Error_reporting (0); the statement is used to temporarily change the runtime
A difficult question is how to read the variable values cyclically in a php file
Variable 1
Variable 2
That is, $ i1 $ i2
Then I want to read it through the for loop.
For ($ x = 1; $ x // Difficulties
}
Php cannot modify the variable name
How does php receive post data from multiple forms?
Multi-form submission
'. $ User; echo''. $ Addtime;?>
My code is like this. to add more than two entries to a form, there may be five, ten, and 20 entries.
Reply to discussion
PHP array problem, retrieve the PHP array problem before the multi-dimensional array, and retrieve the dimension before the multi-dimensional array.
Array ([0] => Array ([username] => test2222 [id] => 66) [1] => Array ([username] => test [id] => 64)
PHP recognizes any type of verification code Image
MacAddress = '00e021ac7d '; $ timeOut = '000000'; // timeOut. do not change the value assignment method: $ obj-> timeOut = 60000; function call method: you need to first create an object $ obj =
Illegal thinkphp operation
The normal display is like this. you only need to check onclick.
This is the display on the server.
The local machine is normal, and the server is not operating properly. it is case sensitive.
Reply to
For details about the usage of PDO parameters (with length restrictions or bugs), refer to the usage of PDO parameters (with length restrictions or bugs:
The php code is as follows:
$ Tids = '2017 473840208171, 100 ';
$ SQL = 'SELECT trade_id, tid,
Solve a php problem
The above is the index page of a web application. now there is a url: http: // *********. com/index. php? M = Weixin & a = indexWhich jump page will this url point? Reply to discussion (solution)Test it by yourself. you
For more information about $ _ SERVER [REQUEST_TIME], see The php Manual. $ _ SERVER ['request _ time'] refers to the start TIME of the script, but the question is:
My current time is,
But I
Echo date ('Y-m-d m: I: S', $ _ SERVER ['request _
How do I replace the last specified character in the content of a value with a mysql statement before answering this post http://bbs.csdn.net/topics/390705363? Page = 1 # post-396787221
How to use a mysql statement to replace the last specified
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