changeset 755:8864c4727693

acc tst()val()
author ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp>
date Wed, 08 Jul 2015 18:37:50 +0900
parents b5c806c00f71
children cf31f80e22b0
files oasis2015/accountcheck.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/oasis2015/accountcheck.rb	Wed Jul 08 18:30:43 2015 +0900
+++ b/oasis2015/accountcheck.rb	Wed Jul 08 18:37:50 2015 +0900
@@ -7,7 +7,7 @@
 
 c = CGI.new(:tag_maker => "html5", :accept_charest => "UTF-8")
 db = SQLite3::Database.new("sql/main.sq3")
-sql = "insert into test values(?, ?, ?, ?, ?, ?, ?, ?, ?)"
+sql = "insert into test(id, name, cal, age, sex, area, exp, pt, lv) values(?, ?, ?, ?, ?, ?, ?, ?, ?)"
 #sql = "insert into test values (?, 0, 0, 0, 0, 0, 0, 0, 0)"
 
 toi = "insert into toi values (?, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)"

yatex.org