AJAX练习

一.
2018-11-09_163517.png

1.jd.sql

SET NAMES UTF8;
DROP DATABASE IF EXISTS jd;
CREATE DATABASE jd CHARSET=UTF8;
USE jd;
create table product(
pid INT PRIMARY KEY AUTO_INCREMENT,
pname VARCHAR(13),
pic VARCHAR(12),
price float(4,2),
produceDate date
);
INSERT INTO product VALUES(NULL,'张三','img/1.jpg','23.00','2018-11-9');
INSERT INTO product VALUES(NULL,'李四','img/2.jpg','33.00','2018-11-9');
INSERT INTO product VALUES(NULL,'王五','img/3.jpg','43.00','2018-11-9');
select * from product;

2.product_add.php

3.product_add.html




    
        
        
    

    
        

pname:

pic:

price:

prodate:

二.
2018-11-12_151811.png

你可能感兴趣的:(AJAX练习)