摘要: $link = mysqli_connect('localhost','root','root'); mysqli_select_db($link,'数据库名'); $res = mysqli_query($link,'set names utf8'); $sql = "SELECT 主表.name 阅读全文
posted @ 2019-07-02 16:19 郑鹏飞 阅读(1039) 评论(0) 推荐(0) 编辑
摘要: $link = mysqli_connect('localhost','root','root'); mysqli_select_db($link,'数据库名'); $res = mysqli_query($link,'set names utf8'); $sql = "SELECT 主表.*,副表 阅读全文
posted @ 2019-07-02 16:09 郑鹏飞 阅读(1490) 评论(0) 推荐(0) 编辑
摘要: //连接数据库 $link = mysqli_connect('localhost','root','root'); //选择数据库 mysqli_select_db($link,'数据库名'); //设置字符集 $res = mysqli_query($link,'set names utf8') 阅读全文
posted @ 2019-07-02 16:03 郑鹏飞 阅读(932) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head><meta charset="utf-8" /><title>购物车</title><link href="css/gouwu.css" rel="stylesheet" type="text/css" /><script type="text/ 阅读全文
posted @ 2019-04-25 14:35 郑鹏飞 阅读(743) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>js+ajax三级联动</title> </head> <body> <! > <!--框架--> <! > <select name="sele1"> <option value= 阅读全文
posted @ 2019-04-25 14:27 郑鹏飞 阅读(264) 评论(0) 推荐(0) 编辑