草庐IT

tSurname

全部标签

iphone - SQLite 查询中的特殊字符(在 iPhone 中)

我正在为iPhone应用程序使用SQLite,并且我正在使用这样的查询:NSString*query=[[NSStringalloc]initWithFormat:@"INSERTINTOCourses(name,credits,web,tName,tSurname,tMail,tOffice)VALUES(\'%@\',\'%@\',\'%@\',\'%@\',\'%@\',\'%@\',\'%@\');",self.name,self.credits,self.web,self.tName,self.tSurname,self.tMail,self.tOffice];这是一个简单的

iphone - SQLite 查询中的特殊字符(在 iPhone 中)

我正在为iPhone应用程序使用SQLite,并且我正在使用这样的查询:NSString*query=[[NSStringalloc]initWithFormat:@"INSERTINTOCourses(name,credits,web,tName,tSurname,tMail,tOffice)VALUES(\'%@\',\'%@\',\'%@\',\'%@\',\'%@\',\'%@\',\'%@\');",self.name,self.credits,self.web,self.tName,self.tSurname,self.tMail,self.tOffice];这是一个简单的