Dedecms Label
If my classification is
Big Class 1
Small Class 11
Small Class 12
Big Class 2
Small Class 21
Small class 22
........................
Now I want to implement the following
Big Class 1
Small class 11 Small class 12
Article title
Multi-lingual problem, I now use gettext many languages, there are several problems do not know how to deal with:
One. How to display the appropriate language by selecting the drop-down list. (directly by selecting the drop-down list to display
I can now use the ZF development system and now find a problem with the daemon if done?
What is the common practice of framework development now? Develop your own background?
Reply to discussion (solution)
You can write your own, the workload
I now have a problem, when submitting the form, the content of the submission to filter out the special characters such as: ~!@#$%^&* () _+. These
If I have a submission: Life *&) (_ More Beautiful
How to filter into: life can be more beautiful.
Ask you, in the PHP website, how to make the function of sending SMS to the mobile phone? What kind of technology is used to achieve functionality?
Reply to discussion (solution)
Say the simplest way, first you find an API to provide the SMS
Excuse me
Make a website, if all the operations on the database are encapsulated into stored procedures,
is not more than simply write SQL in the program to facilitate future maintenance
Reply to discussion (solution)
Stored procedures, as
PHP MySQL
Here is the Code section:
$username =$_post["name"];
$password =$_post["Password"];
if ($username && $password)
{
if (Strpos ($username, "")!==false) echo "User name is illegal";
Else
{
$con =mysql_connect ("localhost", "root",
Title
For example: This is an introduction
The user uses TextArea to enter the content and submit it and deposit it into the database
And then read it out and show it in front of the alert. Hah want it to be displayed as input but not executed.
MySQL PHP String Function database
I want to put $row _hx[' Content_original_autor ' in the database; It is shown by a page of 10, but the repeated display is removed, that is to say $row _hx[
Design of object-oriented design pattern system
To do a mold management system.
It is hoped that the object-oriented approach can be used to integrate some patterns of design ideas.
The main purpose is to practice object-oriented design
1, we
11, we
122, we
1. They
12. They
133. They
3 You
33 You
234 you
such as there are numbers + comma, there are numbers + points, there are numbers + spaces, how to use the regular delete it?
I'll just be the simplest.
$c =preg_replace ("/\d,
Wrote a number of function and class, respectively, stored in several PHP files.
such as a.php
function My_trim ($text) {
Return Strip_tags (Trim ($text));
}
Now there is a index.php page, how to load these function and class, with
MySQL PHP
while ($rows = Mysql_fetch_array ($request))
Why do you give a warning every time you write this?
while (($rows = mysql_fetch_array ($request))!=false)
It's good to write like this, what's the difference?
Reply to discussion
Public Function Gettree ($data, $pId =0, $parentId = ", $categoryId =", $categoryName = ")
{
How to save the variables I passed in, the next time I can directly use the variables I passed in
Reply to discussion (solution)
What's the next point?
target= "_blank" title= "//target=" _blank "title="
What is the difference between these two lines of code? I use the first line in the source code to find, for the second line can be, ask what the situation this is?
Reply to discussion
Header file_get_contents
Whether they are displayed or downloaded, they are compared to their speed. I will not, please call everyone.
The first type of notation:
Header (URL address);
Exit ();
The second way:
echo @file_get_contents (URL
I intend to use the Nginx + Linux current end, ASP. NET and windows when backstage,
Ask need not fastcgi, this fastcgi is what, have what use, I check on the net, but still did not see very clearly,
I hope to have a clear prawn teach me a bit.
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