上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: one.js导出 1 // 导出方式一: 2 export let url="http://www.baidu.com/"; 3 export let name="张三"; 4 // export let myfun=()=>{ 5 // return "hello world"; 6 // } 7 阅读全文
posted @ 2022-12-23 21:59 哆啦阿梦 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 前端: 后端: 方法二: 备注: 如果后台接收不到数据,前端又返回parsererror,则是返回数据类型不对 阅读全文
posted @ 2022-12-13 21:51 哆啦阿梦 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 关于&&和|| <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>D 阅读全文
posted @ 2022-12-04 20:11 哆啦阿梦 阅读(15) 评论(0) 推荐(0) 编辑
摘要: PHP error_reporting(0) int error_reporting([int $level]) $level:新的error_reporting级别。 返回值:返回旧的error_reporting级别,或者在level参数未给出时返回当前的级别。 error_reporting( 阅读全文
posted @ 2022-11-29 11:29 哆啦阿梦 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 函数简介 PHP ini_set用来设置php.ini的值,在函数执行的时候生效,脚本结束后,设置失效。无需打开php.ini文件,就能修改配置,对于虚拟空间来说,很方便。 函数格式:string ini_set(string $varname, string $newvalue) 作用域 PHP总 阅读全文
posted @ 2022-11-29 11:23 哆啦阿梦 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 在看帝国cms的connect.php是发现第一句是error_reporting(E_ALL ^ E_NOTICE);以前也没注意过这个语句,知道是设置错误提示的,但不清楚具体怎样设置使用。下面从网上摘抄了些东西,总结了一下。 举例说明: 在Windows环境下:原本在php4.3.0中运行正常的 阅读全文
posted @ 2022-11-29 11:20 哆啦阿梦 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 当给变量赋值中文时,报错: mysql> create procedure pro_test4() -> begin -> declare height int default 175; -> declare description varchar(50) default ''; -> if hei 阅读全文
posted @ 2022-10-20 17:19 哆啦阿梦 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 当使用jquery的append方法添加元素后,发现链接点击失效。 $('#profile13 form a').click(function() { var dv=$(this).parent().parent().clone(); $('#profile13 form').append(dv); 阅读全文
posted @ 2022-10-08 20:44 哆啦阿梦 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 刚刚重装完系统,启动phpstudy的时候,突然提示“由于找不到msvcr110.dll无法继续执行代码”,经过百度后,找到原因说是缺少VC运行库,另外下载了VC运行库合集,重新安装就可以解决 阅读全文
posted @ 2022-09-24 22:45 哆啦阿梦 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 今天调用控制器时,突然报错 经百度后,按照网上的说法,是因为使用构造函数时,没有提前调用父类, 阅读全文
posted @ 2022-09-17 20:45 哆啦阿梦 阅读(97) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页