- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 javascript获得鼠标的坐标值
转自 一、需求: 1、当需求为获得的坐标值相对于body时实现方法 2、当需求为获得的坐标值相对于某一对象时实现方法 二、实现: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
2014-10-14 15:01:25 620
php mysql 操作类
$conn = DB::instance(array('dbname'=>'default'));
or
$conndb = DB::instance(array(
'host' => 'localhost',
'dbname' => 'default',
'username' => 'root',
'password' => '',
'charset' => 'utf8'
));
$result = $conn->query('select * from user');
2012-08-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人