I see some colleagues static pages are all used. All HTML is used. TPL
What difference does it have?
Reply to discussion (solution)
is the template View page estimated? Template file, suffix name does not affect.If the user is
There are so many characters
11n234
45ewd123
44se1321
er12312
1142342ew353
3ewf2324
I want to match the last letter that precedes the character including the last letter.
If the 45ewd123 matches the 45ewd
Ask for advice
Reply to
This is the original code
Here's a little headline.According to statistics, since the start of the operation, the city of Beijing's 56 peripheral public security checkpoints have accumulated more than 3,500 kilograms of quality fireworks
If this address http://www.hj0593.com/t.php?id=1
I fill in the form the Name field, want to submit the background into http://www.hj0593.com/t.php?id=1&name= ' parameters '
But this side always turns to http://www.hj0593.com/t.php?name= '
This bar $pdo-> and two colons PDO:: What does that mean?
Do you want to keep this in mind when it comes to errors? Where else is the code written?
try{
$pdo =new PDO (' Mysql:host=localhost;dbname=t2 ', ' root ', ');
$pdo->setattribute
I recently played a roundcubemail with Apache +php environment. Apache configuration OK roundcubemail also configured to send and receive mail.
But the problem is I want to delete the message on the Roundcubemail error
Server error: UID copy:the
There is such a table:
ID (int) name (char) sign (char)
In execution $query = $this->db->get ($table);
$data = $query->result_array ();
Then want to get the value of sign in it (not for display, but to get the value in the controller or model)
There are four key words: keyword 1, keyword 2, keyword 3, keyword 4,
I'm going to go out. A field in the database contains "keyword 1" or "Keyword 2" or "Keyword 3" but does not contain "keyword 4" data, how to write SQL statement?
Definition of the function:
A function is a named, separate piece of code that performs a specific task and can return a value to the program that called it
Advantages of the function:
1. Improve the reusability of the program 2. Improved
A TXT file, which has the format of the IP----domain name data, how to achieve:
Xx.com/?ip=xxx.xxx.xxx.xxx, it gets and displays the domain name of the corresponding IP----domain name, xxx.com
Conversely, xx.com/?domain=xxx.com, gets and displays
centos6.5:
# service Nginx Start
Starting nginx: [OK]
touch:missing file operand
Try ' Touch--help ' for more information.
Each boot has this warning, resulting in an invalid self-boot. Is this a swelling?
Man, I'm sorry, there are more people
"Http://m.baidu.com" "to Baidu Mobile-based, I mainly test the mobile side of the"Direct simulation link to get Baidu search results reached more than 300 KB, push to the client browser that is using gzip compression also about 100KB, time-consuming
If the address is not transmitted directly is a picture
How to transfer a picture of a pair of GIF89 through Json_encode ()
Because I was feeling with its transmission address again to access the transfer picture why not direct picture send but I
To lock a row,
Require_once ("config.inc.php"); Database connection
mysql_query ("Set autocommit=0");
mysql_query ("BEGIN");
mysql_query ("SELECT * from ' News ' where id=1 for Update");
echo "Test";
?>
Then I perform this language in IE window,
$v = "ABC";
$note "->item (0)->getelementsbytagname (" name ")->item (0)->nodename= $v;//name is changed to $v, but NodeName is read only, Not this way.
Is there a way to modify it, such as an XML element attribute, or a value that can be modified,
With Phpstorm Xdebug debugging is always more than 10 points so that the time-out.
Environment window Phpstudy php5.3 Apache MySQL
displaying 500 errors
Did a test.
1. In PHP file Set_time_limit (0)
2.php.ini setting Xdebug
To do PHP development, encountered a database processing problems:
Now to work with table inventory, a field of this table is goods_id. Associated to the table goods, but multiple fields in the goods table are connected to their corresponding tables;
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