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 ...