I have the following code to insert in an sqlite
ios database:
NSString *sql="INSERT INTO table('url') VALUES (\"http://ift.tt/1PZxnhx\")";
[database executeUpdate:sql];
This is causing the following error:
Error: 1 "near "http": syntax error"
Any help?
Aucun commentaire:
Enregistrer un commentaire