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
See others write the regular is as follows:
if (!preg_match ('/^[\w\-\. +@[\w\-\.] + (\.\w+) +$/', $_string))
In the middle brackets and inside of the understanding, I am like this: the brackets denote any one of them;
Well, it [\w\-\] in the above
, 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
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,
Define a human
Class person{public $name;p ublic $gender;p ublic function Say () {//echo $this->name. Say ". $this->gender;} Public Function __set ($name, $value) {$this->name= $value;} Public Function __get ($name) {if (!isset ($name)) {echo
Two days ago, when learning PHP lareval framework, downloaded from the official web Lareval installation package, according to the network Configuration Tutorial 1.1 point configuration, when you click on the public file run there is a problem that
Please tell me how to solve this PHP content, thank you!!! It's too much to send. Below is a part, specific in the net disk.
5a65 6e64 000b 3230 3034 3037 3232 3033
0006 3635 3534 3000 0536 3238 3200 0632
3133 3037 0078 f90a 9f32 0ced 5c79 985d
459
CITY[X] [y]
x Save the ID of the Save
Y Save the ID of the city in X province
If there is no data under city[x]
Indicates that the province is empty and can be deleted
Otherwise, how can we not solve?
Reply to discussion (solution)
$APPENSTR = $buf = "; $time = time (); for ($i =0; $i 5) {break;} if ($buf) {$appenStr. = $buf;} Else{break;}} Echo $appenStr;
Read a lot of information on the Internet, is socket_read this function blocked, resulting in the client program has
1. It is quicker to use single quotes instead of double quotes to contain strings. Because PHP will search for variables in a string surrounded by double quotes, single quotes will not, note: only echo can do this, it is a string can be used as a
I found a problem when inserting data into a database using PHP, and when inserting a value with a field type of varchar, the database is considered to be 0 by default, regardless of the number of 0 inserted. Ask the great God. Why What to do with
First, the programming idea:
1. Use Xajax.
2. From the nation table in the MySQL database, get the Name field "province" for each province.
3. Use the field array element as an option for the drop-down list, respectively. (That is, the list items
Hello, everyone!
I have written a small program for uploading video files.
When testing under Windows:
php5.5+apache2.4.9,php two configurations with maximum upload size already set to 1024M
Uploading any video at this time is no problem.
But
The situation is to make a page, output the database of sales records, sell more than 3 pieces of the display green, 3 pieces below white.
This feature has been implemented, the code:
= "3") { echo (""); } else{ Echo (""); }?
Ready to do a function that's 58 in the same city. For example, someone has taken a resume from the company. The number of the firm will inform someone who has cast a resume and take a URL to see how this function needs to be implemented
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
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