Php+ajax+dragsort plug-in +bootstrap beautification
Implement drag-and-drop sorting to keep the sequence number unchanged, but the real sort keeps changing.
Code Description:
My.js is a custom Ajax request that defines the data reception
problems appear
When configuring PHP parameters>--with-jpeg-dir \Configure:WARNING:you should use--build,--host,--targetConfigure:WARNING:invalid Host Type:Checking for grep that handles long lines and-e .../bin/grepChecking for egrep .../bin/grep-
$templates = Array ();
if ('!== $name)
$templates [] = "header-{$name}.php";
$templates [] = ' header.php ';
This procedure to determine whether $name is not empty, if not empty to $templates[] assignment "header-{$name}.php"
But immediately
, each time you click the Add button, the following adds a line, after selecting the medicine, click on the previous "+" will show the drug details. This effect I have achieved, and now I want the effect is: Do not select the drug name and click on
The code is as follows:
Individual characters are garbled! Strange, please look at the picture
What is the cause of this?
The above code seems to be wrong ah, the original page is clearly GB2312 lack of judgment out is CP936, no
RT, I wrote a station, their own rich text editor, Rich text filter really do not want to write their own, the Internet to find this class library, the result was 1.03MB capacity scare, I 3 stations are not so big
The standard version has 354 files,
Text messageNewLine '; $font _file = "Fangzheng Mei Hei _gbk.ttf";//font settings part of the Linux path $text = $str;//String to display $font_size = 14;//font Size $arr = Imagettfbbox ($ font_size,0, $font _file, $text); Determines the position
It does ER diagram did not say, but I want to look at the data in the database, unexpectedly did not find this function, let people surprised, don't you?
Reply to discussion (solution)
MySQL Workbench is a modeling tool, not a
Curlopt_header set HTTP header information OUTPUT, 1---output, 0---not output
Curlopt_returntransfer sets whether the information returned by the Curl request is displayed directly or in a string format, 1---A string output, and 0---displayed
Preg_match ("/^ ([\.-\w]+) \ ([\.-\w]+] (. *) $/i", "Ext/plain; Charset=utf-8 ")
Error
Preg_match (): compilation Failed:invalid range in character class at offset 7
The regular is not ripe for help
Reply to discussion (solution)
Each event corresponds to a start date and an end date
such as: 2015-10-05 2015-11-03 XXX activity
Then the XXX activity will be displayed when the mouse moves to this date
Here's my idea,
Will it be too much trouble?
Reply to
When HTML is called by the Smarty display, it is all chaotic,
And HTML is turned on individually,
Admin.php calls HTML. Both are not in the same directory,
When the HTML post is found that its own directory becomes the directory of admin.php, which
This piece of paging has been implemented, now use AJAX instead of having the page refresh
Previous practice:
When you switch to Ajax
1. The scalar that is passed requires those
2. How to write an Ajax event (when you click on a year, write one
1. Subclass inherits parent class with extends keyword
2. Subclasses can inherit from only one parent class, but the parent class may inherit from another class
3. When inheriting, you can inherit the public/protected properties and methods of
The server environment is as follows
Window Server 2012R2
Iis+php+mysql
A Web site based on the PHPCMS
The problem is as follows:
A button in the page, in the browser haste mode, is not displayed, in compatibility mode, is visible
The same site
Just learned here, was stumped. The teacher said, PHP is the most difficult is the database this piece, any Web page can not be separated from additions and deletions, as long as the four-like program to write ripe, and what the Web page is not
Okay, here's a detailed explanation, if you have a c++,perl base, you'll find that these guys and some of their symbolic functions are similar.
The '-> ' symbol is the ' Insert dereference operator ' (infix dereference operator)
In other words,
Dependency inversion principle (DSP)
!--? php//Driver drive Mercedes-Benz, not using the principle of dependency inversion class Benz{public function run () {return "Benz is runing!!!";}} Class Driver{public function Drive (Benz $car) {echo $car---
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