ajax+php implement mouse drag layer and save _php tutorial in real time

Source: Internet
Author: User
   A home for the guests ( bkjia.com ) TutorialToday, the fire small in the blog park to see such an example of "ajax+php mouse drag layer to any location and save in real time," very practical, especially reproduced to you webmaster, I hope to build a station to help you and remind, the following reference to the original author content:

Note that deleting features and modifications is not, but this is simple and does not affect the demo of this routine


The following is the referenced content:




ajax+php Drag the mouse layer to any location and save in real time-help Home (liehuo.net)



Require (' sql.php ');

--------------the SQL statement to execute
$sql = "SELECT * from ' CEng ' ORDER BY ' Zzhou ' ASC";

--------------Querying the database
$result =mysql_query ($sql, $CN);
$i = 1;
while ($row =mysql_fetch_row ($result))
{
Print_r ($row);
?>
') Onmousedown=initdrag (event)
Style= "Z-index: ; Position:absolute;left: px; top: px; " >
"Align=" Center >









Said
A "class=" content "align=" left "onmouseout=" return Out (' a ') "onmouseover=" Return Over (' a ') ">

New modification Delete


$i + +;
}
?>
$sql 1= "select Max (Zzhou) from CEng"; Find the maximum value of a layer
$result 1=mysql_query ($sql 1);
$row 1=mysql_fetch_row ($result 1);
?>


Examples of this tutorial download: Ajax_php_drag.rar

Original: http://www.cnblogs.com/zerogo/archive/2009/08/19/1550223.html

http://www.bkjia.com/PHPjc/364266.html www.bkjia.com true http://www.bkjia.com/PHPjc/364266.html techarticle Fire Network (liehuo.net) tutorial today, the fire small in the blog park to see such an example of the ajax+php mouse drag layer to any location and save in real time, very practical, especially reproduced to you ...

  • Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.