SQLite & sscanf2
#1

Hey guys,

with MySQL you can use following code to load sth.
Код:
 while(mysql_fetch_row_format(result, "|"))
        	 {
        	 	sscanf(result, "p<|>is[30]s[30]iiiiiiifiiiiis[30]",...
Is there a way to use this code with SQLite? There are just a few natives which you can use with SQLite, so i actually don't know if this is possible.

-Greetz
Reply
#2

/push
Reply
#3

Sorry, but it's impossible.
Reply
#4

You can do similar but with loop 'do while'
Reply
#5

Okay, gonna try it. Thanks for now
Reply
#6

https://sampwiki.blast.hk/wiki/MySQL#mysql_fetch_row_format
But ur format wont work 100% because of the strings.
Reply
#7

That code was just an example how you could do it with MySQL. I didn't test it & I don't use it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)