Please help to run it :-) # File Name: default.py
def index(): db.define_table("pymysql",Field("content","text"),migrate=True) content = """'http://img1.t.sinajs.cn/t3/style/css/common/ layer.css'""" #content = """this sentence is no problem at all""" db.executesql("INSERT INTO pymysql (content)VALUES(%s)",content) return dict() On 2月14日, 下午5时53分, "Martin.Mulone" <mulone.mar...@gmail.com> wrote: > are you sure is not syntax error? > > db.executesql("insert into hytest (conent)values(%s)",content) > > "conent"