|
From: <fer...@te...> - 2003-06-11 22:11:46
|
Hi! In this: sprintf(sql_lt,"select data,titulo,categoria,anotacao,ROWID from anot where %s like '%s';",prcampo,prprocurar); I get something like this: select data,titulo,categoria,anotacao,ROWID from anot where titulo like 'mytitle'; But when I try place a % there is an error, or the value appears wrong or I get a NULL string, by example, I need this output select data,titulo,categoria,anotacao,ROWID from anot where titulo like '%mytitle%'; I try to place one %, two %(like tell in libc reference), \% and nothing gives what I want. Can you show me how to do this? Thanks. |