김정은

fix query error

...@@ -46,7 +46,7 @@ router.post('/map', function(req, res){ ...@@ -46,7 +46,7 @@ router.post('/map', function(req, res){
46 46
47 'idusers' : req.body.userid, 47 'idusers' : req.body.userid,
48 'address' : req.body.placeaddress, 48 'address' : req.body.placeaddress,
49 - 'contendid' : req.body.placeid, 49 + 'contentid' : req.body.placeid,
50 'title' : req.body.placename} 50 'title' : req.body.placename}
51 51
52 52
...@@ -97,4 +97,3 @@ res.render('test', {title: 'test'}); ...@@ -97,4 +97,3 @@ res.render('test', {title: 'test'});
97 }); 97 });
98 98
99 module.exports = router; 99 module.exports = router;
100 -connection.end();
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
11 function forming() { 11 function forming() {
12 12
13 13
14 - console.log(place)
15 -
16 -
17 if(confirm("맛집견문록에 기록하겠습니까?")){ 14 if(confirm("맛집견문록에 기록하겠습니까?")){
18 15
19 document.forms["userform"].submit(); 16 document.forms["userform"].submit();
......